Versions in this module Expand all Collapse all v1 v1.8.7 May 20, 2022 Changes in this version + const DeleteSuccess + const ERROR + const LinkSuccess + const LoginSuccess + const LogoutSuccess + const OperateSuccess + const SUCCESS + const SearchSuccess + func ErrorToErrorCode(err error) *MyError + type Response struct + Code int + Data interface{} + Msg string + func (this *Response) DealErr(err error) (errorTrace []string) + func (this *Response) Error(ctx *fiber.Ctx, err error) error + func (this *Response) JsonDealErr(err error) string + func (this *Response) Output(ctx *fiber.Ctx, data interface{}) error + func (this *Response) ReturnValOrNull(value, empty interface{}) interface{} + func (this *Response) SliceReturnValOrNull(value []string, empty interface{}) interface{} + func (this *Response) Success(ctx *fiber.Ctx, msg string, data interface{}) error