Documentation ¶
Index ¶
Constants ¶
View Source
const ( //ERROR Default error code returned ERROR = 422 //SUCCESS Default success code return SUCCESS = 200 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Page ¶
type Page struct { Total int64 `json:"total"` //Total total pages List interface{} `json:"list"` //List json data }
Page Pagination return
type Write ¶
type Write struct { StatusCode int `json:"statusCode"` //Error Code Msg string `json:"msg"` //Msg Prompt message Result interface{} `json:"result"` //Data Error interface{} `json:"error"` //Error message }
Write Return parameter
Click to show internal directories.
Click to hide internal directories.