Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetUserRequest ¶
type GetUserRequest struct {
ID int `json:"id"`
}
GetUserRequest get user request
type GetUserResponse ¶
type GetUserResponse struct { ID int `json:"id"` FullName string `json:"full_name"` UserName string `json:"user_name"` }
GetUserResponse get user response
func (*GetUserResponse) SetFullName ¶
func (g *GetUserResponse) SetFullName(firstName string, lastName string)
SetFullName full name setter
Click to show internal directories.
Click to hide internal directories.