Documentation ¶
Index ¶
Constants ¶
View Source
const ( RespSuccess int64 = 0 RespFailure int64 = -1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TRespDataSet ¶
type TRespDataSet struct { Total int64 `json:"total"` ArrData interface{} `json:"list,omitempty"` }
type TResponse ¶
type TResponse struct { Code int64 `json:"code"` Data *TRespDataSet `json:"data"` //,omitempty Info string `json:"message"` }
func Success ¶
func Success(data *TRespDataSet) *TResponse
Click to show internal directories.
Click to hide internal directories.