commit | 2d3bb8ce05d8d2b757744667abbb968d035d0a2a | [log] [tgz] |
---|---|---|
author | Nathan Dias <nathan.dias@orijtech.com> | Thu Nov 21 23:10:21 2019 -0600 |
committer | Emmanuel Odeke <emm.odeke@gmail.com> | Fri Nov 22 06:42:13 2019 +0000 |
tree | f189e392d885e78756742bce443667d6f8c3fea2 | |
parent | f191eec95302b548b60c374bc3f511a264d046b7 [diff] |
internal/telemetry/export/ocagent: correctly JSON marshal BucketOptionsExplicit This change adds a custom MarshalJSON method to BucketOptionsExplicit for marshalling parity with protobuf/jsonpb. This allows the OpenCensus service to correctly decode a distribution's BucketOptions. Updates golang/go#33819 Change-Id: Ia9dc868e1cbfc32a956f6a276dfd1591f7d4d31a Reviewed-on: https://go-review.googlesource.com/c/tools/+/208398 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.