mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 14:18:12 +00:00
fixed code documentation
This commit is contained in:
@@ -16,6 +16,13 @@ type UserReturnInfo struct {
|
||||
Email string `json:"email"`
|
||||
}
|
||||
|
||||
/*
|
||||
Payload
|
||||
|
||||
Maps User object to UserReturnInfo object.
|
||||
Returns:
|
||||
*UserReturnInfo: mapped UserReturnInfo object
|
||||
*/
|
||||
func (um *User) Payload() *UserReturnInfo {
|
||||
payload := new(UserReturnInfo)
|
||||
payload.BaseModel = um.BaseModel
|
||||
|
||||
Reference in New Issue
Block a user