Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set struct { Locale string // contains filtered or unexported fields }
Set represents a language set.
type Source ¶
type Source interface { // FetchLanguage receives the name of a language and must return the // translation dictionary (in JSON) for that language. FetchLanguage(lang string) ([]byte, error) // Languages returns a list of language tags, in order of user preference. Languages() ([]string, error) }
Source is a language information source.
Click to show internal directories.
Click to hide internal directories.