text - ActiveState ActiveGo 1.8
...

Package text

import "golang.org/x/text"
Overview
Index
Subdirectories

Overview ▾

text is a repository of text-related packages related to internationalization (i18n) and localization (l10n), such as character encodings, text transformations, and locale-specific text handling.

Index ▾

Package files

doc.go

Subdirectories

Name Synopsis
..
cases Package cases provides general and language-specific case mappers.
cmd
gotext gotext is a tool for managing text in Go source code.
collate Package collate contains types for comparing and sorting Unicode strings according to a given collation order.
build
currency Package currency contains currency-related functionality.
encoding Package encoding defines an interface for character encodings, such as Shift JIS and Windows 1252, that can convert to and from UTF-8.
charmap Package charmap provides simple character encodings such as IBM Code Page 437 and Windows 1252.
htmlindex Package htmlindex maps character set encoding names to Encodings as recommended by the W3C for use in HTML 5.
ianaindex Package ianaindex maps names to Encodings as specified by the IANA registry.
japanese Package japanese provides Japanese encodings such as EUC-JP and Shift JIS.
korean Package korean provides Korean encodings such as EUC-KR.
simplifiedchinese Package simplifiedchinese provides Simplified Chinese encodings such as GBK.
traditionalchinese Package traditionalchinese provides Traditional Chinese encodings such as Big5.
unicode Package unicode provides Unicode encodings such as UTF-16.
utf32 Package utf32 provides the UTF-32 Unicode encoding.
feature
plural Package plural provides utilities for handling linguistic plurals in text.
language 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.
message Package message implements formatted I/O for localized strings with functions analogous to the fmt's print functions.
catalog Package catalog defines collections of translated format strings.
runes Package runes provide transforms for UTF-8 encoded text.
search Package search provides language-specific search and string matching.
secure secure is a repository of text security related packages.
bidirule Package bidirule implements the Bidi Rule defined by RFC 5893.
precis Package precis contains types and functions for the preparation, enforcement, and comparison of internationalized strings ("PRECIS") as defined in RFC 7564.
transform Package transform provides reader and writer wrappers that transform the bytes passing through as well as various transformations.
unicode unicode holds packages with implementations of Unicode standards that are mostly used as building blocks for other packages in golang.org/x/text, layout engines, or are otherwise more low-level in nature.
bidi Package bidi contains functionality for bidirectional text support.
cldr Package cldr provides a parser for LDML and related XML formats.
norm Package norm contains types and functions for normalizing Unicode strings.
rangetable Package rangetable provides utilities for creating and inspecting unicode.RangeTables.
runenames Package runenames provides rune names from the Unicode Character Database.
width Package width provides functionality for handling different widths in text.