Registry / utility / x-text

x-text

JSON →
library0.38.0gogounverified

Package text provides text-related packages for internationalization (i18n) and localization (l10n), such as character encodings, text transformations, and locale-specific text handling.

go get golang.org/x/text
INSTALL
IMPORT
SIG · X-TEXT
X
x-text
utilitygov0.38.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

language
golang.org/x/text/language

Parse and use a language tag

package main import ( "fmt" "golang.org/x/text/language" ) func main() { tag := language.Make("en-US") fmt.Println(tag) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.38.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
x-text — go get x-text · libregistry