Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeOwner Type = 1 TypeRenter Type = 2 TypeOwnerString = "owner" TypeRenterString = "renter" )
list of user type
View Source
const ( GenderInvalidString = "invalid" GenderMaleString = "male" GenderFemaleString = "female" )
list of gender
Variables ¶
View Source
var (
ErrUserNotFound = errors.New("user not found")
)
list of user errors
Functions ¶
This section is empty.
Types ¶
type Bio ¶
type Bio struct { UserID string FullName string // Gender Gender Avatar string Birthday time.Time CreatedAt time.Time UpdatedAt time.Time IsTest bool }
Bio of user
type Country ¶
type Country string
Country of user
const (
CountryID Country = "ID"
)
list of country in this project
type Registrations ¶
type Registrations struct { ID string UserID string UserType int UserStatus int HashID string FullName string Email string PhoneNumber string BirthDate time.Time Channel int Device int Lat string Long string DeviceToken string CreatedAt time.Time UpdatedAt time.Time IsTest bool }
Registrations struct
Click to show internal directories.
Click to hide internal directories.