package basic type ErrorCode struct { Code int `json:"code"` Message string `json:"message"` } var ( ErrParamParse = &ErrorCode{Code: 10100, Message: "参数解析错误"} )