Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReesponseUserData ¶
type ReesponseUserData struct { User interface{} `json:"user_data"` Credential interface{} `json:"credential"` }
func ResponseUserDataFormatter ¶
func ResponseUserDataFormatter(user interface{}, credential interface{}) ReesponseUserData
type ResponseCredential ¶
type ResponseUser ¶
type ResponseUser struct { ID uint `json:"id"` Username string `json:"username"` Email string `json:"email"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt gorm.DeletedAt `json:"deleted_at"` UserCredential interface{} `json:"user_credential"` }
func ResponseUserFormatter ¶
func ResponseUserFormatter(user entity.Users) ResponseUser
Click to show internal directories.
Click to hide internal directories.