Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Catalog struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"` Title string `bson:"title,omitempty" json:"title,omitempty"` Description string `bson:"description,omitempty" json:"description,omitempty"` Image string `json:"image" bson:"image"` IsDone bool `bson:"isdone,omitempty" json:"isdone,omitempty"` }
type CatalogList ¶
type CatalogList struct {
Items []Catalog `bson:"items,omitempty" json:"items,omitempty"`
}
type Credential ¶
type User ¶
type User struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"` Email string `bson:"email,omitempty" json:"email,omitempty"` Username string `bson:"username,omitempty" json:"username,omitempty"` Password string `bson:"password,omitempty" json:"password,omitempty"` Role string `bson:"role,omitempty" json:"role,omitempty"` }
Click to show internal directories.
Click to hide internal directories.