commit | 83df196e5764ed2415c28c1f39ba6cb3db747da0 | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Thu May 02 13:04:19 2019 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Fri May 03 02:58:08 2019 +0000 |
tree | 2ea7f5b337db824091094c0fefd29e5a5153ea21 | |
parent | 23463209683dad3f2b9cc7f7c2663e1847c59017 [diff] |
internal/span: add a filename only print for spans This prints the base of the path rather than the whole path when printing a span. This is useful for places where you are printing for the user rather than for machines. The format is %f Change-Id: I6d1a52e4583099ff298c1fb645272578a49472eb Reviewed-on: https://go-review.googlesource.com/c/tools/+/174942 Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@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.