Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GinHandler ¶
func GinHandler(myHandler HandlerFuncResError) gin.HandlerFunc
func SystemHandler ¶
func SystemHandler(err error)
Types ¶
type Result ¶
type Result struct { Code int `json:"code"` Message string `json:"msg"` Data interface{} `json:"data"` }
func (*Result) UpdateAllFields ¶
func (*Result) UpdateDataField ¶
Click to show internal directories.
Click to hide internal directories.