Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewUserRepository), )
Module exports dependency
Functions ¶
This section is empty.
Types ¶
type UserRepository ¶
UserRepository database structure
func NewUserRepository ¶
func NewUserRepository(db lib.Database, logger lib.Logger) UserRepository
NewUserRepository creates a new user repository
func (UserRepository) WithTrx ¶
func (r UserRepository) WithTrx(trxHandle *gorm.DB) UserRepository
WithTrx enables repository with transaction
Click to show internal directories.
Click to hide internal directories.