Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserDetail ¶ added in v0.0.3
func NewUserDetail(data Users) dtos.UserDetailResponse
Types ¶
type CreateUser ¶
type LockingOpt ¶
type LockingOpt struct {
PessimisticLocking bool
}
type UpdateUserStatus ¶
func NewUpdateUserStatus ¶
func NewUpdateUserStatus(req dtos.UpdateUserStatusRequest) UpdateUserStatus
type UpdateUsers ¶
type UpdateUsers struct { UserID int64 Email string Fullname string Password string PhoneNumber string UserType string UpdatedAt time.Time UpdatedBy string }
func NewUpdateUsers ¶
func NewUpdateUsers(data dtos.UpdateUserRequest) UpdateUsers
type Users ¶
type Users struct { UserID int64 Email string Password string Fullname string PhoneNumber string UserType string IsActive bool CreatedAt time.Time CreatedBy string UpdatedAt time.Time UpdatedBy string }
func NewCreateUser ¶
func NewCreateUser(data dtos.CreateUserRequest, cfg config.Config) Users
Click to show internal directories.
Click to hide internal directories.