i18n

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(defaultValue string, args ...interface{}) error

Errorf produces an error with a translated error string. Substitution is performed via the `T` function above.

func T

func T(defaultValue string) string

T is a placeholder for string translation. In future, the implementation should return the translated a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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