Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var App = new(Application)
View Source
var Errors = CustomErrors{ BusinessError: CustomError{40000, "业务错误"}, ValidateError: CustomError{42200, "请求参数错误"}, TokenError: CustomError{40100, "登录授权失效"}, }
Functions ¶
This section is empty.
Types ¶
type Application ¶
type CustomError ¶
type CustomErrors ¶
type CustomErrors struct { BusinessError CustomError ValidateError CustomError TokenError CustomError }
Click to show internal directories.
Click to hide internal directories.