Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Trans ¶ added in v0.0.2
Trans returns a translated message for a given locale. If the locale doesn't exist, a fallback locale will be used
func Translator ¶
func Translator(locale string) ut.Translator
Translator returns the instance of translator for a given locale. If the given locale doesn't exist, a fallback locale will be used
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.