Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UsersGateway ¶
type UsersGateway interface {
Add(user *models.UserRow, secretID int64) (int64, error)
Get(filter *models.UsersFilter) ([]*models.UserRow, error)
GetByID(id int64) (*models.UserRow, error)
GetUserToSalary() (map[string]float64, error)
Update(user *models.UserRow) (int64, error)
UpdateContacts(user *models.UserRow) (int64, error)
}
func NewUsersGateway ¶
func NewUsersGateway(db *sql.DB) UsersGateway
Click to show internal directories.
Click to hide internal directories.