internal/codegen: fixes tests for new config Adding --- counter: tools/command:goimports title: goimports command invocations description: count the number of times goimports is invoked type: partition issue: https://github.com/golang/go/issues/75321 program: golang.org/x/tools/cmd/goimports module: golang.org/x/tools to config.txt caused the checking tests to fail on a local machine. This CL adds paddings for the new program, and avoids running the test in the local copy of the repo. (The test is protected by t.Short(). The change to config.txt is in a different CL.) Change-Id: I8c94009c04aa72db334027498ae265c2c056961c Reviewed-on: https://go-review.googlesource.com/c/telemetry/+/701717 Reviewed-by: Robert Findley <rfindley@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This repository holds the Go Telemetry server code and libraries, used for hosting telemetry.go.dev and instrumenting Go toolchain programs with opt-in telemetry.
Warning: this repository is intended for use only in tools maintained by the Go team, including tools in the Go distribution and auxiliary tools like gopls or govulncheck. There are no compatibility guarantees for any of the packages here: public APIs will change in breaking ways as the telemetry integration is refined.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/telemetry.
The main issue tracker for the telemetry repository is located at https://go.dev/issues. Prefix your issue with “x/telemetry:” in the subject line, so it is easy to find.
This repository uses eslint to format TS files, stylelint to format CSS files, and prettier to format TS, CSS, Markdown, and YAML files.
See the style guides:
It is encouraged that all TS and CSS code be run through formatters before submitting a change. However, it is not a strict requirement enforced by CI.
./npm install./npm run all