commit | 2ad8dc80bc2f516248a794383ddd5e1ddf15997e | [log] [tgz] |
---|---|---|
author | Suzy Mueller <suzmue@golang.org> | Mon Aug 12 17:56:59 2019 -0400 |
committer | Suzy Mueller <suzmue@golang.org> | Mon Aug 12 22:09:39 2019 +0000 |
tree | ebf9d39d7e60f7439e6135883770009eaece0ac2 | |
parent | 1e8b33d652914950a313c07dcfbaea320660f448 [diff] |
internal/imports: return initialized options Whent the pointer is nil, changing its value does not fix the returned options. Return the new pointer so it can be used. Change-Id: Ie17fe5c47b48b4a77ffb17b974a5c90e3b44df5e Reviewed-on: https://go-review.googlesource.com/c/tools/+/189998 Run-TryBot: Suzy Mueller <suzmue@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.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.