Versions in this module Expand all Collapse all v0 v0.1.0 Dec 31, 2019 Changes in this version + var EBindBodyError = &AppErr + var EDeployControllerError = &AppErr + var EExists = &AppErr + var ENotFound = &AppErr + var EParamsError = &AppErr + var EStatusError = &AppErr + var EUnknown = &AppErr + func E(c *gin.Context, e error) + func R(c *gin.Context, body interface{}) + func RJsonP(c *gin.Context, body interface{}) + type AppErr struct + Msg string + Payload interface{} + Status int + func NewAppErr(code int, msg string, payload interface{}) *AppErr + func WrapErr(err error, msg ...string) *AppErr + func (e *AppErr) Error() string + func (e *AppErr) WithPayload(payload interface{}) *AppErr + type H = map[string]interface