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 NewUserRepository ¶
func NewUserRepository(db *sql.DB) *UserRepository
func (*UserRepository) GetById ¶
func (r *UserRepository) GetById(id string) *User
func (*UserRepository) GetByUsername ¶
func (r *UserRepository) GetByUsername(username string) *User
func (*UserRepository) Migrate ¶
func (r *UserRepository) Migrate() error
Click to show internal directories.
Click to hide internal directories.