Documentation ¶
Overview ¶
Package locales provides helpers to work with locales. Locale = language code + country code Language code (2 letter code): https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes Country code (2 letter code): https://en.wikipedia.org/wiki/ISO_3166-2
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyInput = errors.New("locales: input is empty") ErrNoMatchingLocale = errors.New("locales: no matching locale found") )
Functions ¶
func DescriptiveName ¶
DescriptiveName returns the long descriptive version of the code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.