diff options
author | Shenghou Ma <minux.ma@gmail.com> | 2012-03-05 11:12:58 +1100 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2012-03-05 11:12:58 +1100 |
commit | 4d7017dcd02a4fb35b2cd3b31b852d858bd5fbb3 (patch) | |
tree | ad0a97e413fe309966094d4434c0628d95dc9935 | |
parent | 30f9c99e3e96c22c57a5ef120d442a1d186a4ade (diff) | |
download | go-4d7017dcd02a4fb35b2cd3b31b852d858bd5fbb3.tar.gz go-4d7017dcd02a4fb35b2cd3b31b852d858bd5fbb3.zip |
doc/effective_go: minor fix
We have 'gofmt' and 'go fmt', but not 'go tool fmt'.
R=golang-dev, kyle, r
CC=golang-dev
https://golang.org/cl/5739043
-rw-r--r-- | doc/effective_go.html | 2 | ||||
-rw-r--r-- | doc/effective_go.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/effective_go.html b/doc/effective_go.html index 096a655214..939d05a7d7 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -69,7 +69,7 @@ With Go we take an unusual approach and let the machine take care of most formatting issues. The <code>gofmt</code> program -(also available as <code>go tool fmt</code>, which +(also available as <code>go fmt</code>, which operates at the package level rather than source file level) reads a Go program and emits the source in a standard style of indentation diff --git a/doc/effective_go.tmpl b/doc/effective_go.tmpl index 340acb4d9f..d953989316 100644 --- a/doc/effective_go.tmpl +++ b/doc/effective_go.tmpl @@ -65,7 +65,7 @@ With Go we take an unusual approach and let the machine take care of most formatting issues. The <code>gofmt</code> program -(also available as <code>go tool fmt</code>, which +(also available as <code>go fmt</code>, which operates at the package level rather than source file level) reads a Go program and emits the source in a standard style of indentation |