Documentation ¶ Index ¶ type User func (u *User) Get(w *wrapper.Wrapper) error func (u *User) Set(w *wrapper.Wrapper) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type User ¶ type User struct { MongoId bson.ObjectId `json:"-" bson:"_id"` Email string `json:"email" bson:"email"` Id int `json:"id" bson:"id"` Name string `json:"login" bson:"name"` Type string `bson:"type"` Roles []string `bson:"roles,omitempty"` } move below to new package func (*User) Get ¶ func (u *User) Get(w *wrapper.Wrapper) error func (*User) Set ¶ func (u *User) Set(w *wrapper.Wrapper) error Source Files ¶ View all Source files user.go Click to show internal directories. Click to hide internal directories.