package
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: Jun 19, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
OK = msg{0, "成功"}
ErrSys = msg{2001, "系统错误"}
)
type Message struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data interface{} `json:"data,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.