Documentation
¶
Overview ¶
Package textlanguagedb provides wrappers for golang.org/x/text/language package language.Script which implement database/sql Scanner and Value interfaces; meaning they can be passed directly to database drivers and correct parsing will be done.
It also provides some "wrapper" functions to avoid awkward conversions.
Package textlanguagedb provides wrappers for golang.org/x/text/language package language.Script which implement database/sql Scanner and Value interfaces; meaning they can be passed directly to database drivers and correct parsing will be done.
It also provides some "wrapper" functions to avoid awkward conversions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Script ¶
func MustParseScript ¶
func ParseScript ¶
func (Script) IsUnspecified ¶
IsUnspecified will return whether the underlying Script in question is unspecified, by checking whether s.String() == "Zzzz" (as specified by the language package)