package
Version:
v0.0.0-...-115e584
Opens a new window with list of versions in this module.
Published: Aug 6, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewI18n(opts ...Option) *i18n
const (
CodeSuccess ErrCode = iota
CodeFail
AuthFailureInvalidSecretId
AuthFailureTokenFailure
)
const (
CodeSuccessEn ErrCodeEn = iota
CodeFailEn
AuthFailureInvalidSecretIdEn
AuthFailureTokenFailureEn
)
type Options struct {
Lang string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.