Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type I18n ¶
func NewI18n ¶
func NewI18n(options ...NewI18nOption) (*I18n, error)
func (*I18n) TWithLanguage ¶
type NewI18nOption ¶
type NewI18nOption func(*newI18nOptions)
func WithLocalesDir ¶
func WithLocalesDir(dir string) NewI18nOption
func WithLogger ¶
func WithLogger(logger *logger.Logger) NewI18nOption
Click to show internal directories.
Click to hide internal directories.