i18n

package
v0.0.0-...-b080998 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(lib, lang, dom string)

func Get

func Get(str string, vars ...interface{}) string

Types

type I18n

type I18n struct{}

func New

func New() *I18n

func (*I18n) Get

func (i *I18n) Get(str string, vars ...interface{}) string

type I18ner

type I18ner interface {
	Get(string, ...interface{}) string
}

Jump to

Keyboard shortcuts

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