Documentation
¶
Index ¶
Constants ¶
View Source
const UnknownLanguageCode = "?"
Variables ¶
This section is empty.
Functions ¶
func IsLanguageName ¶
Types ¶
type Index ¶
type Index int
Index is integer representative of language short code.
const Unknown Index = -1
Unknown value is used if language code is not found.
func SetNoLanguage ¶ added in v0.1.1
type Name ¶
type Name []string
Name holds decoded names. Index of the slice calculates by ToIndex().
func (Name) MarshalJSON ¶
func (*Name) UnmarshalJSON ¶
type NameColumn ¶
type NameColumn []byte
NameColumn is a type of column Name in regular reference table
func (NameColumn) Name ¶
func (rn NameColumn) Name() (Name, error)
Name decodes jsonb into array of strings
Click to show internal directories.
Click to hide internal directories.