package
3.0.4
Repository: https://github.com/keepchen/go-sail.git
Documentation: pkg.go.dev

# Functions

RegisterCode 注册常量代码 Deprecated: RegisterCode is deprecated,it will be removed in the future.
RegisterCodeSingle 注册单个错误码 与 RegisterCodeTable 不同的是,此方法更细粒度的注入错误码及对应的错误信息而不是整个覆盖。 当code码重复时,后者覆盖前者 # 此方法适用于【动态】注入单个错误码的场景.
RegisterCodeTable 注册错误码表 i18nMsg key为错误码值,value为错误信息 与 RegisterCodeSingle 不同的是,此方法是覆盖对应语言的整个code表。 # 此方法适用于【固定】注入错误码表或需要覆盖默认错误码表的场景.

# Constants

日期格式.
日期时间格式.
日期时间格式-tz.
默认时区.
令牌已失效.
服务器内部错误.
没有错误,占位.
请求参数有误.
Failure 业务状态码:失败.
No description provided by the author
框架版本.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
私钥开始标识符.
私钥结束标识符.
公钥开始标识符.
公钥结束标识符.
Success 业务状态码:成功.
时间格式.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.
@see https://timezonedb.com/time-zones Linux shell: timedatectl list-timezones.

# Interfaces

ICodeType 错误码类型接口.

# Type aliases

CodeType 错误码类型.
LanguageCode 语言码 采用ISO 3166-1标准 例如: 美式英文: en-US 简体中文: zh-CN 繁体中文: zh-TW @see https://en.wikipedia.org/wiki/ISO_3166-1.