package
Version:
v0.0.0-...-c938c57
Opens a new window with list of versions in this module.
Published: Feb 7, 2020
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Model struct {
Users Users
}
Model represents the database model and contains table queries.
New creates a new model instance.
type User struct {
UUID string `json:"uuid"`
Email string `json:"email"`
Verified bool `json:"verified"`
Hash string `json:"-"`
}
User is a user.
Users interface is implemented by the "users" struct.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.