Documentation ¶
Index ¶
Constants ¶
View Source
const ( UserTypeRegular = "regular_user" UserTypePremium = "premium_user" )
Variables ¶
View Source
var (
ErrInvalidLockOpt = errors.New("can't do lock with multiple type")
)
Functions ¶
This section is empty.
Types ¶
type CreateUser ¶
type LockingOpt ¶
type LockingOpt struct {
PessimisticLocking bool
}
type UpdateUserStatus ¶
func NewUpdateUserStatus ¶
func NewUpdateUserStatus(payload UpdateUserStatus) UpdateUserStatus
type UpdateUsers ¶
type UpdateUsers struct { UserID int64 Fullname string PhoneNumber string UserType string UpdatedAt time.Time UpdatedBy string }
func NewUpdateUsers ¶
func NewUpdateUsers(data UpdateUsers) UpdateUsers
Click to show internal directories.
Click to hide internal directories.