Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserRepository ¶
func NewUserRepository ¶
func NewUserRepository(db *sql.DB) *UserRepository
func (*UserRepository) GetUserByID ¶
func (userRepo *UserRepository) GetUserByID(userID int) (*models.User, error)
Click to show internal directories.
Click to hide internal directories.