Registry / utility / xuanwo-go-locale

xuanwo-go-locale

JSON →
library1.1.3gogounverified

Go Locale detects the current system locale and language settings.

go get github.com/Xuanwo/go-locale
INSTALL
IMPORT
SIG · XUANWO-GO-LOCALE
X
xuanwo-go-locale
utilitygov1.1.3
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.

locale
github.com/Xuanwo/go-locale

Detect and print the system locale

package main import ( "fmt" "github.com/Xuanwo/go-locale" ) func main() { lang, _ := locale.Detect() fmt.Println(lang) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Resources
xuanwo-go-locale — go get xuanwo-go-locale · libregistry