package
0.0.15
Repository: https://github.com/twgcode/sparrow.git
Documentation: pkg.go.dev

# Functions

CodeJoinMsg code 对应的 信息和msg进行合拼.
CodeToMsg code转换成 msg.
CommonErrJson 通用的错误返回结构.
CommonJoinMsgErrJson 会对msg就行合拼.
NewResultJson 构造一个标准的数据.
OtherFailedJson 其他错误的错误.
PutCodeMsgMap 向codeMsg中设置键值对.
RequestErrJson 请求端错误.
RequestParaErrJson 请求参数错误.
ResponseInternalErrJson 服务端内部错误.
SucJson 构建一个处理成功的数据.
RequestParaErrJson 请求参数错误.

# Constants

FailedCode 处理失败 其他错误.
No description provided by the author
RequestErr 请求方错误.
请求参数错误.
响应方内部错误.
SucCode 处理成功.
No description provided by the author
无权限访问错误.

# Structs

ResultJson 前后端分离开发时 约定好的标准的数据结构.