Registry / utility / go-playground-locales

go-playground-locales

JSON →
library0.14.1gogounverified

Locales provides locale-specific data (number formatting, currencies, etc.) for Go, used by the universal-translator package.

go get github.com/go-playground/locales
INSTALL
IMPORT
SIG · GO-PLAYGROUND-LOCA
G
go-playground-locales
utilitygov0.14.1
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.

locales
github.com/go-playground/locales

Format a number using English locale rules.

package main import ( "fmt" "github.com/go-playground/locales/en" ) func main() { locale := en.New() fmt.Println(locale.FmtNumber(1234.56)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
go-playground-locales — go get go-playground-locales · libregistry