Debian Codegraph @

README.md

raw symbols SCIP
1 # go-localeinfo [![GoDoc](https://godocs.io/github.com/delthas/go-localeinfo?status.svg)](https://godocs.io/github.com/delthas/go-localeinfo)
2
3 A cross-platform library for extracting locale information.
4
5 Rather than extracting the current locale name (e.g. en_US), this library enables clients to extract monetary/numeric/time formatting information.
6
7 This library is basically a wrapper over different platform-specific calls:
8 - on Linux: nl_langinfo
9 - on Windows: GetLocaleInfoEx
10 - on other platforms: a stub implementation that returns empty values
11
12 ## Usage
13
14 The API is well-documented in its [![GoDoc](https://godocs.io/github.com/delthas/go-localeinfo?status.svg)](https://godocs.io/github.com/delthas/go-localeinfo)
15
16 ```
17 l := localeinfo.Default()
18 fmt.Printf("123%s456\n", l.ThousandSeparator())
19 ```
20
21 ## Status
22
23 Used in small-scale production environments.
24
25 - [ ] Add darwin
26 - [ ] Add web
27
28 ## License
29
30 MIT