generators

package
v0.0.0-...-eee87fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause, Unlicense Imports: 0 Imported by: 0

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

func NewLanguage(language string) Language

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.
cmd
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL