Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserRepository ¶
type UserRepository interface { Register(ctx context.Context, req user_entity.User) (string, error) Login(ctx context.Context, req user_entity.User) (user_entity.User, error) }
func NewUserRepository ¶
func NewUserRepository(dbPool *pgxpool.Pool) UserRepository
Click to show internal directories.
Click to hide internal directories.