Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Localizer ¶
Define a Localizer type which stores the relevant locale ID (as used in our URLs) and a (deliberately unexported) message.Printer instance for the locale.
func Get ¶
The Get() function accepts a locale ID and returns the corresponding Localizer for that locale. If the locale ID is not supported then this returns `false` as the second return value.
Click to show internal directories.
Click to hide internal directories.