Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Product ¶
type Product struct { ID primitive.ObjectID `bson:"_id" json:"id"` CreatedBy primitive.ObjectID `bson:"created_by" json:"created_by"` Title string `bson:"title" json:"title"` Description string `bson:"description" json:"description"` Informations map[string]interface{} `bson:"informations" json:"informations"` Price float64 `bson:"price" json:"price"` Quantity int `bson:"quantity" json:"quantity"` Thumbnail primitive.ObjectID `bson:"thumbnail" json:"thumbnail"` CreatedAt time.Time `bson:"created_at" json:"created_at"` }
Click to show internal directories.
Click to hide internal directories.