Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Todo ¶
type Todo 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"` Deadline string `bson:"deadline,omitempty" json:"deadline,omitempty"` TimeStamp TimeStamp `bson:"timestamp,omitempty" json:"timestamp,omitempty"` IsDone bool `bson:"isdone,omitempty" json:"isdone,omitempty"` User User `bson:"user,omitempty" json:"user,omitempty"` }
type TodoResponse ¶ added in v0.2.0
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.