Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterUserEndpoints ¶
Types ¶
type UserRepository ¶
type UserRepository struct {
// contains filtered or unexported fields
}
func NewUserRepo ¶
func NewUserRepo(db *sql.DB) UserRepository
func (*UserRepository) CreateUser ¶
func (ur *UserRepository) CreateUser(model User) (int, error)
func (*UserRepository) UserExists ¶
func (ur *UserRepository) UserExists(userName string) (bool, error)
Click to show internal directories.
Click to hide internal directories.