Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpdatableUser ¶
UpdatableUser defins the fields of a User that can be changed
type User ¶
type User struct { Uuid string `bson:"_id"` Username string `bson:"username" required:"yes" min:"5"` FirstName string `bson:"first_name" required:"yes"` LastName string `bson:"last_name" required:"yes"` Organization string `bson:"organization" required:"yes"` Position string `bson:"position" required:"yes"` Avatar string `bson:"avatar"` }
func NewDefault ¶
type UserRepository ¶
Click to show internal directories.
Click to hide internal directories.