i18n

package
v0.0.0-...-9a81cb1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type I18n

type I18n struct {
	Localizer *i18n.Localizer
}

func NewInstance

func NewInstance(locale string) (instance I18n, err error)

func (I18n) T

func (instance I18n) T(key string, params map[string]interface{}) (message string, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL