Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionDenied ¶
type ActionDenied struct{}
Types definitions
func (*ActionDenied) Error ¶
func (m *ActionDenied) Error() string
/ Types definitions extensions Action Denied error
type DuplicatedData ¶
type DuplicatedData struct{}
type EmailAlreadyExistsError ¶
type EmailAlreadyExistsError struct{}
func (*EmailAlreadyExistsError) Error ¶
func (m *EmailAlreadyExistsError) Error() string
Email already exists error
type EmailOrPasswordError ¶
type EmailOrPasswordError struct{}
func (*EmailOrPasswordError) Error ¶
func (m *EmailOrPasswordError) Error() string
Email or password error
type InvalidOrExpiredTokenError ¶
type InvalidOrExpiredTokenError struct{}
func (*InvalidOrExpiredTokenError) Error ¶
func (m *InvalidOrExpiredTokenError) Error() string
Invalid or expired token error
type NonExistentData ¶
type NonExistentData struct{}
type NotFoundDataError ¶
type NotFoundDataError struct{}
type User ¶
type User struct { gorm.Model FullName string `json:"full_name"` Email string `json:"email" gorm:"unique"` Role string `json:"role"` Gender string `json:"gender"` Ocupation string `json:"ocupation"` ProfileImgUrl string `json:"profile_img_url"` IdentificationType string `json:"identification_type"` IdentificationNumber string `json:"identification_number"` CountryCode string `json:"country_code"` PhoneNumber string `json:"phone_number"` Password string `json:"password"` Weight *float64 `json:"weight"` Height *float64 `json:"height"` Birthday *time.Time `json:"birthday"` }
Click to show internal directories.
Click to hide internal directories.