id in json
This commit is contained in:
parent
357d79e68b
commit
51e94e73e5
@ -6,7 +6,7 @@ type Graph struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type GraphItem struct {
|
type GraphItem struct {
|
||||||
ID string `bson:"ID" json:"ID" validate:"required"`
|
ID string `bson:"id" json:"id" validate:"required"`
|
||||||
Width float64 `bson:"width" json:"width" validate:"required"`
|
Width float64 `bson:"width" json:"width" validate:"required"`
|
||||||
Height float64 `bson:"height" json:"height" validate:"required"`
|
Height float64 `bson:"height" json:"height" validate:"required"`
|
||||||
Position Position `bson:"position" json:"position" validate:"required"`
|
Position Position `bson:"position" json:"position" validate:"required"`
|
||||||
|
Loading…
Reference in New Issue
Block a user