Skip to content

Commit

Permalink
README: don't recommend go get
Browse files Browse the repository at this point in the history
These days people will just import the packages and the go tool will
do the right thing. We don't need to explain it.

Add a pointer to the git repo, though.

For golang/go#62645

Change-Id: I0a1721eb456645c1422580497e3dcc9906a41223
Reviewed-on: https://go-review.googlesource.com/c/text/+/624296
Auto-Submit: Ian Lance Taylor <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
Commit-Queue: Ian Lance Taylor <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
  • Loading branch information
ianlancetaylor authored and gopherbot committed Nov 2, 2024
1 parent fefda1a commit 8a0e65e
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

[![Go Reference](https://pkg.go.dev/badge/golang.org/x/text.svg)](https://pkg.go.dev/golang.org/x/text)

This repository holds supplementary Go libraries for text processing, many involving Unicode.
This repository holds supplementary Go packages for text processing,
many involving Unicode.

## CLDR Versioning

Expand All @@ -11,13 +12,11 @@ by your Go compiler. The `x/text` repository supports multiple versions of
Unicode and will match the version of Unicode to that of the Go compiler. At the
moment this is supported for Go compilers from version 1.7.

## Download/Install
## Contribute

The easiest way to install is to run `go get -u golang.org/x/text`. You can
also manually git clone the repository to `$GOPATH/src/golang.org/x/text`.
To submit changes to this repository, see http://go.dev/doc/contribute.

## Contribute
To submit changes to this repository, see http://golang.org/doc/contribute.html.
The git repository is https://go.googlesource.com/text.

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
Expand All @@ -29,6 +28,7 @@ directory, which holds all files that are used as a source for generating the
tables. This directory will also serve as a cache.

## Testing

Run

go test ./...
Expand All @@ -52,6 +52,7 @@ directory which holds all files that are used as a source for generating the
tables. This directory will also serve as a cache.

## Versions

To update a Unicode version run

UNICODE_VERSION=x.x.x go generate
Expand All @@ -73,11 +74,8 @@ So updating to a different version may not work.

The files in DATA/{iana|icu|w3|whatwg} are currently not versioned.

## Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to
this repository, see https://golang.org/doc/contribute.html.
## Report Issues

The main issue tracker for the image repository is located at
https://github.com/golang/go/issues. Prefix your issue with "x/text:" in the
The main issue tracker for the text repository is located at
https://go.dev/issues. Prefix your issue with "x/text:" in the
subject line, so it is easy to find.

0 comments on commit 8a0e65e

Please sign in to comment.