2
2
3
3
[ ![ Go Reference] ( https://pkg.go.dev/badge/golang.org/x/text.svg )] ( https://pkg.go.dev/golang.org/x/text )
4
4
5
- This repository holds supplementary Go libraries for text processing, many involving Unicode.
5
+ This repository holds supplementary Go packages for text processing,
6
+ many involving Unicode.
6
7
7
8
## CLDR Versioning
8
9
@@ -11,13 +12,11 @@ by your Go compiler. The `x/text` repository supports multiple versions of
11
12
Unicode and will match the version of Unicode to that of the Go compiler. At the
12
13
moment this is supported for Go compilers from version 1.7.
13
14
14
- ## Download/Install
15
+ ## Contribute
15
16
16
- The easiest way to install is to run ` go get -u golang.org/x/text ` . You can
17
- also manually git clone the repository to ` $GOPATH/src/golang.org/x/text ` .
17
+ To submit changes to this repository, see http://go.dev/doc/contribute .
18
18
19
- ## Contribute
20
- To submit changes to this repository, see http://golang.org/doc/contribute.html .
19
+ The git repository is https://go.googlesource.com/text .
21
20
22
21
To generate the tables in this repository (except for the encoding tables),
23
22
run go generate from this directory. By default tables are generated for the
@@ -29,6 +28,7 @@ directory, which holds all files that are used as a source for generating the
29
28
tables. This directory will also serve as a cache.
30
29
31
30
## Testing
31
+
32
32
Run
33
33
34
34
go test ./...
@@ -52,6 +52,7 @@ directory which holds all files that are used as a source for generating the
52
52
tables. This directory will also serve as a cache.
53
53
54
54
## Versions
55
+
55
56
To update a Unicode version run
56
57
57
58
UNICODE_VERSION=x.x.x go generate
@@ -73,11 +74,8 @@ So updating to a different version may not work.
73
74
74
75
The files in DATA/{iana|icu|w3|whatwg} are currently not versioned.
75
76
76
- ## Report Issues / Send Patches
77
-
78
- This repository uses Gerrit for code changes. To learn how to submit changes to
79
- this repository, see https://golang.org/doc/contribute.html .
77
+ ## Report Issues
80
78
81
- The main issue tracker for the image repository is located at
82
- https://github.com/golang/go /issues . Prefix your issue with "x/text:" in the
79
+ The main issue tracker for the text repository is located at
80
+ https://go.dev /issues . Prefix your issue with "x/text:" in the
83
81
subject line, so it is easy to find.
0 commit comments