Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store struct manages interactions with users store
type User ¶
type User struct { ID string `bson:"id,omitempty"` FirstName string `bson:"first_name,omitempty"` LastName string `bson:"last_name,omitempty"` Email string `bson:"email,omitempty"` Password string `bson:"password,omitempty"` SaltPassword string `bson:"salt_password,omitempty"` Roles []roleSchema.Role `bson:"roles,omitempty"` RoleID []string `bson:"roles_id"` Status string `bson:"status"` UpdatedAt time.Time `bson:"updated_at,omitempty"` CreatedAt time.Time `bson:"created_at,omitempty"` ActivedAt time.Time `bson:"actived_at,omitempty"` }
User struct defines the database model
Click to show internal directories.
Click to hide internal directories.