Documentation ¶
Index ¶
- type SnippetModel
- type UserModel
- func (m *UserModel) Authenticate(email, password string) (int, error)
- func (m *UserModel) Exists(id int) (bool, error)
- func (m *UserModel) Get(id int) (*models.User, error)
- func (m *UserModel) Insert(name, email, password string) error
- func (m *UserModel) PasswordUpdate(id int, currentPassword, newPassword string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SnippetModel ¶
type SnippetModel struct{}
Click to show internal directories.
Click to hide internal directories.