Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("user not found")
ErrNotFound is returned when a user could not be found.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct {
ID ulid.ULID `json:"id"`
Version int `json:"version"`
Email string `json:"email"`
Password string `json:"-"`
Timezone string `json:"timezone"`
Active bool `json:"active"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
LoginAt time.Time `json:"login_at"`
}
Click to show internal directories.
Click to hide internal directories.