Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserRepository ¶
func ProvideUserRepository ¶
func ProvideUserRepository(db *gorm.DB) domain.IUserRepository
Types ¶
type UserMapper ¶
type UserMapper struct{}
func NewUserMapper ¶
func NewUserMapper() *UserMapper
func (*UserMapper) ToEntityList ¶
func (qm *UserMapper) ToEntityList(models []model.User) []*domain.User
func (*UserMapper) ToEntityWithPassword ¶
func (qm *UserMapper) ToEntityWithPassword(model *model.User) *domain.User
Click to show internal directories.
Click to hide internal directories.