Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthParams ¶
type CreateUserParams ¶
type User ¶
type User struct { ID primitive.ObjectID `json:"id,omitempty" bson:"_id,omitempty"` Name string `json:"name" bson:"name" validate:"required"` Email string `json:"email" bson:"email" validate:"required"` Password string `json:"password,omitempty" bson:"password,omitempty" validate:"required"` IsAdmin bool `bson:"isAdmin" json:"isAdmin" validate:"required"` }
Click to show internal directories.
Click to hide internal directories.