Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Categories ¶
type Categories struct {
Category string `bson:"category,omitempty" json:"category,omitempty"`
}
type TimeStamps ¶
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"` Time string `bson:"time,omitempty" json:"time,omitempty"` File string `bson:"file,omitempty" json:"file,omitempty"` Tags Categories `bson:"tags,omitempty" json:"tags,omitempty"` TimeStamps TimeStamps `bson:"timestamps,omitempty" json:"timestamps,omitempty"` User User `bson:"user,omitempty" json:"user,omitempty"` }
type User ¶
type User struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"` Email string `bson:"email,omitempty" json:"email,omitempty"` Phonenumber string `bson:"phonenumber,omitempty" json:"phonenumber,omitempty"` Username string `bson:"username,omitempty" json:"username,omitempty"` Password string `bson:"password,omitempty" json:"password,omitempty"` ConfirmPassword string `bson:"confirmpassword,omitempty" json:"confirmpassword,omitempty"` Role string `bson:"role,omitempty" json:"role,omitempty"` }
Click to show internal directories.
Click to hide internal directories.