Documentation ¶
Overview ¶
text is a repository of text-related packages, such as character encodings, text transformations, and locale-specific text handling.
Directories ¶
Path | Synopsis |
---|---|
Package cases provides general and language-specific case mappers.
|
Package cases provides general and language-specific case mappers. |
Package collate contains types for comparing and sorting Unicode strings according to a given collation order.
|
Package collate contains types for comparing and sorting Unicode strings according to a given collation order. |
Package currency contains currency-related functionality.
|
Package currency contains currency-related functionality. |
Package internal contains non-exported functionality that are used by packages in the text repository.
|
Package internal contains non-exported functionality that are used by packages in the text repository. |
colltab
Package colltab contains functionality related to collation tables.
|
Package colltab contains functionality related to collation tables. |
format
Package format contains types for defining language-specific formatting of values.
|
Package format contains types for defining language-specific formatting of values. |
format/plural
Package plural defines the grammatical plural feature.
|
Package plural defines the grammatical plural feature. |
gen
Package gen contains common code for the various code generation tools in the text repository.
|
Package gen contains common code for the various code generation tools in the text repository. |
number
Package number contains tools and data for formatting numbers.
|
Package number contains tools and data for formatting numbers. |
stringset
Package stringset provides a way to represent a collection of strings compactly.
|
Package stringset provides a way to represent a collection of strings compactly. |
tag
Package tag contains functionality handling tags and related data.
|
Package tag contains functionality handling tags and related data. |
testtext
Package testtext contains test data that is of common use to the text repository.
|
Package testtext contains test data that is of common use to the text repository. |
triegen
Package triegen implements a code generator for a trie for associating unsigned integer values with UTF-8 encoded runes.
|
Package triegen implements a code generator for a trie for associating unsigned integer values with UTF-8 encoded runes. |
ucd
Package ucd provides a parser for Unicode Character Database files, the format of which is defined in http://www.unicode.org/reports/tr44/.
|
Package ucd provides a parser for Unicode Character Database files, the format of which is defined in http://www.unicode.org/reports/tr44/. |
utf8internal
Package utf8internal contains low-level utf8-related constants, tables, etc.
|
Package utf8internal contains low-level utf8-related constants, tables, etc. |
Package language implements BCP 47 language tags and related functionality.
|
Package language implements BCP 47 language tags and related functionality. |
display
Package display provides display names for languages, scripts and regions in a requested language.
|
Package display provides display names for languages, scripts and regions in a requested language. |
Package message implements formatted I/O for localized strings with functions analogous to the fmt's print functions.
|
Package message implements formatted I/O for localized strings with functions analogous to the fmt's print functions. |
Package runes provide transforms for UTF-8 encoded text.
|
Package runes provide transforms for UTF-8 encoded text. |
Package search provides language-specific search and string matching.
|
Package search provides language-specific search and string matching. |
secure is a repository of text security related packages.
|
secure is a repository of text security related packages. |
precis
Package precis contains types and functions for the preparation, enforcement, and comparison of internationalized strings ("PRECIS") as defined in RFC 7564.
|
Package precis contains types and functions for the preparation, enforcement, and comparison of internationalized strings ("PRECIS") as defined in RFC 7564. |
unicode holds packages with implementations of Unicode standards that are mostly used as building blocks for other packages in yougam/libraries/x/text, layout engines, or are otherwise more low-level in nature.
|
unicode holds packages with implementations of Unicode standards that are mostly used as building blocks for other packages in yougam/libraries/x/text, layout engines, or are otherwise more low-level in nature. |
bidi
Package bidi contains functionality for bidirectional text support.
|
Package bidi contains functionality for bidirectional text support. |
cldr
Package cldr provides a parser for LDML and related XML formats.
|
Package cldr provides a parser for LDML and related XML formats. |
norm
Package norm contains types and functions for normalizing Unicode strings.
|
Package norm contains types and functions for normalizing Unicode strings. |
rangetable
Package rangetable provides utilities for creating and inspecting unicode.RangeTables.
|
Package rangetable provides utilities for creating and inspecting unicode.RangeTables. |
Package width provides functionality for handling different widths in text.
|
Package width provides functionality for handling different widths in text. |
Click to show internal directories.
Click to hide internal directories.