i18n

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Support

type Support struct {
	Matcher language.Matcher
	Locale  language.Coverage
}

Support defines the i18n coverage

func New

func New(cfg *config.I18nConfig) (*Support, error)

New creates new I18n Support

func (*Support) PrettyLanguages

func (s *Support) PrettyLanguages() []string

PrettyLangauges return prettiefied supported languages strings

Jump to

Keyboard shortcuts

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