Documentation ¶
Overview ¶
Package model provides the data model of the Account object
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { ID bson.ObjectId `json:"accountid" bson:"_id"` Username string `json:"username" bson:"username"` FirstName string `json:"firstname" bson:"firstname"` LastName string `json:"lastname" bson:"lastname"` Email string `json:"email" bson:"email"` When time.Time `json:"when" bson:"when"` }
Account is a struct defining a user account
Click to show internal directories.
Click to hide internal directories.