Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserRepository ¶
type UserRepository struct {
// contains filtered or unexported fields
}
func NewPostgreUserRepository ¶
func NewPostgreUserRepository(db *sql.DB) *UserRepository
func (*UserRepository) CheckUserExists ¶
func (r *UserRepository) CheckUserExists(name string) (bool, error)
func (*UserRepository) CreateUser ¶
func (*UserRepository) GetUserById ¶
func (*UserRepository) GetUserByName ¶
func (r *UserRepository) GetUserByName(name string) (models.User, error)
Click to show internal directories.
Click to hide internal directories.