зеркало из https://github.com/golang/text.git
c745997bb1
The trickiest changes are in language/display where the dropping of nl-BE as Vlaams in Dutch caused some issues. This will probably be changed back as I think this change is erroneous, but as we’re not into the politics of it, we adopt the CLDR changes. Change-Id: I6c593960778cd4c5b9f0553340b72a1410166506 Reviewed-on: https://go-review.googlesource.com/30910 Run-TryBot: Marcel van Lohuizen <mpvl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Nigel Tao <nigeltao@golang.org> |
||
---|---|---|
cases | ||
cmd/gotext | ||
collate | ||
currency | ||
encoding | ||
internal | ||
language | ||
message | ||
runes | ||
search | ||
secure | ||
transform | ||
unicode | ||
width | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
LICENSE | ||
PATENTS | ||
README | ||
codereview.cfg | ||
doc.go | ||
gen.go |
README
This repository holds supplementary Go libraries for text processing, many involving Unicode. To submit changes to this repository, see http://golang.org/doc/contribute.html. To generate the tables in this repository (except for the encoding tables), run go generate from this directory. By default tables are generated for the Unicode version in core and the CLDR version defined in golang.org/x/text/unicode/cldr. Running go generate will as a side effect create a DATA subdirectory in this directory which holds all files that are used as a source for generating the tables. This directory will also serve as a cache. Run go test ./... from this directory to run all tests. Add the "-tags icu" flag to also run ICU conformance tests (if available). This requires that you have the correct ICU version installed on your system. TODO: - updating unversioned source files.