Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Result ¶
type Result struct {
ICode int `json:"status"`
IMessage string `json:"message"`
IData interface{} `json:"data"`
}
func NewErrResult ¶
func NewErrResult(ctx *gin.Context, customErr *exceptions.CustomError) *Result
Click to show internal directories.
Click to hide internal directories.