commit | 89d49d945af09cd0965b85dfd2b31b20907d8ef3 | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Fri Nov 22 18:25:02 2019 -0500 |
committer | Ian Cottrell <iancottrell@google.com> | Mon Nov 25 14:11:28 2019 +0000 |
tree | cccc78487bb048365465206a48404befd3e99004 | |
parent | cc15fab314e3fe03e3ef345304e9e0dd5cd4ce26 [diff] |
internal/telemetry: make the metrics tests external This is the same changes we already made to the trace tests, where we check the encoded json instead of the wire structs, and we make the tests external using the public encoding function only Change-Id: I289d46dd5ad0efe0b2fba0a71b188b4f9edc5676 Reviewed-on: https://go-review.googlesource.com/c/tools/+/208504 Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.