The purpose of this package is to have a build tagged variant so that when we're building the bootstrap go command it does not depend on the net package. (net is a dependency of golang.org/x/telemetry/counter on Windows). The TESTGO_TELEMETRY_DIR environment variable used by the go tests to change the telemetry directory is renamed to TEST_TELEMETRY_DIR to make it more general to other commands that might want to set it for the purpose of tests. The test telemetry directory is now set using telemetry.Start instead of countertest.Open. This also means that the logic that decides whether to upload counter files is now going to run from the cmd/go tests (but that's okay because it's aleady been running when cmd/go has been invoked outside of its tests. Change-Id: Ic4272e5083facde010482d8b8fc3c95c03564bc9 Reviewed-on: https://go-review.googlesource.com/c/go/+/571096 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> |
||
|---|---|---|
| .github | ||
| api | ||
| doc | ||
| lib/time | ||
| misc | ||
| src | ||
| test | ||
| .gitattributes | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| PATENTS | ||
| README.md | ||
| SECURITY.md | ||
| codereview.cfg | ||
| go.env | ||
README.md
The Go Programming Language
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Download and Install
Binary Distributions
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
Install From Source
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Contributing
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.