Documentation ¶
Index ¶
- type UserRepositoryImpl
- func (r *UserRepositoryImpl) DeleteUserById(id string) *infrastructure.AppError
- func (r *UserRepositoryImpl) DeleteUserByMobile(mobile string) *infrastructure.AppError
- func (r *UserRepositoryImpl) FindByMobile(mobile string) (*model.User, *infrastructure.AppError)
- func (r *UserRepositoryImpl) InsertUser(u *model.User) (*model.User, *infrastructure.AppError)
- func (r *UserRepositoryImpl) UpdateUser(u *model.User) (*model.User, *infrastructure.AppError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserRepositoryImpl ¶
type UserRepositoryImpl struct {
// contains filtered or unexported fields
}
func NewUserRepository ¶
func NewUserRepository(dbContext infrastructure.DbContext) *UserRepositoryImpl
func (*UserRepositoryImpl) DeleteUserById ¶
func (r *UserRepositoryImpl) DeleteUserById(id string) *infrastructure.AppError
func (*UserRepositoryImpl) DeleteUserByMobile ¶
func (r *UserRepositoryImpl) DeleteUserByMobile(mobile string) *infrastructure.AppError
func (*UserRepositoryImpl) FindByMobile ¶
func (r *UserRepositoryImpl) FindByMobile(mobile string) (*model.User, *infrastructure.AppError)
func (*UserRepositoryImpl) InsertUser ¶
func (r *UserRepositoryImpl) InsertUser(u *model.User) (*model.User, *infrastructure.AppError)
func (*UserRepositoryImpl) UpdateUser ¶
func (r *UserRepositoryImpl) UpdateUser(u *model.User) (*model.User, *infrastructure.AppError)
Click to show internal directories.
Click to hide internal directories.