Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Language ¶
type Language string
Language store the canonicalized BCP 47 tag, which has the generic form <lang>-<country>-<other tags>...
func NewLanguage ¶
NewLanguage canonicalizes the language input (as a BCP 47 language tag), by converting it to lowercase, mapping '_' to '-', and stripping all characters other than letters, numbers and '-'.
Directories ¶
Path | Synopsis |
---|---|
binarygen
|
|
analysis
Package analysis uses go/types and go/packages to extract information about the structures to convert to binary form.
|
Package analysis uses go/types and go/packages to extract information about the structures to convert to binary form. |
Generator of the mapping from OpenType tags to BCP 47 tags and vice versa.
|
Generator of the mapping from OpenType tags to BCP 47 tags and vice versa. |
Run go run main.go rune_coverage.go <OUTPUT_DIR>
|
Run go run main.go rune_coverage.go <OUTPUT_DIR> |
unicodedata
|
|
cmd
Generate lookup function for Unicode properties not covered by the standard package unicode.
|
Generate lookup function for Unicode properties not covered by the standard package unicode. |
cmd/src
Generate lookup function for Unicode properties not covered by the standard package unicode.
|
Generate lookup function for Unicode properties not covered by the standard package unicode. |
Click to show internal directories.
Click to hide internal directories.