commit | f6d699bfddca2e6539e3e972913aeb2a55b1ff1b | [log] [tgz] |
---|---|---|
author | Lev Shamardin <shamardin@gmail.com> | Mon Nov 14 10:07:54 2016 +0000 |
committer | Chris Broadfoot <cbro@golang.org> | Wed Jan 04 21:12:55 2017 +0000 |
tree | cfefb5f36706f6b756ef493ea47fa1bca608aa8f | |
parent | 3641cf08b66e7a68451a5a0f1d7a34e11c71f765 [diff] |
x/tools/tour: support for golang.org/x/tools/imports. This adds a new toggle, which, when enabled, uses goimports instead of gofmt to format and auto-add imports on "format" requests. Fixes #17886. Change-Id: I7909e38c4001a372250667ef53a8af42717de200 Reviewed-on: https://go-review.googlesource.com/33202 Reviewed-by: Chris Broadfoot <cbro@golang.org> Run-TryBot: Chris Broadfoot <cbro@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
A Tour of Go is an introduction to the Go programming language.
The easiest way to install the tour locally is to install a binary release of Go and then run:
$ go tool tour
To install the tour from source, first set up a workspace and then run:
$ go get golang.org/x/tour/gotour
This will place a gotour
binary in your workspace's bin
directory.
Unless otherwise noted, the go-tour source files are distributed under the BSD-style license found in the LICENSE file.
Contributions should follow the same procedure as for the Go project: http://golang.org/doc/contribute.html