commit | f774e2e2e5be3c071167a977af341ec529b77226 | [log] [tgz] |
---|---|---|
author | Nathan Dias <nathan.dias@orijtech.com> | Fri Nov 22 00:59:40 2019 -0600 |
committer | Emmanuel Odeke <emm.odeke@gmail.com> | Fri Nov 22 08:00:28 2019 +0000 |
tree | 7e40f7eed993cffa86b3692d90b591b2dc7558c4 | |
parent | df8e87c2cec0be3d26a0efac5384a4f6c49d6777 [diff] |
internal/telemetry/export/ocagent: update usages of BucketOptions to use pointers This change updates initializations of DistributionValue to pass in a pointer for BucketOptions rather than a value so that the custom MarshalJSON for *BucketOptionsExplicit will be called when marshalling distributions. Updates golang/go#33819 Change-Id: I6d1a393dfa67d626bf5cdd2cfbc0c931d376f60c Reviewed-on: https://go-review.googlesource.com/c/tools/+/208401 Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com> Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
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.