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
}
UserRepository defines a PostgreSQL user repository
func NewUserRepository ¶
func NewUserRepository(db *sql.DB) *UserRepository
NewUserRepository creates a new PostgreSQL user repository
func (*UserRepository) GetIDByEmail ¶
GetIDByEmail retrieves a user id by email
Click to show internal directories.
Click to hide internal directories.