1
0
mirror of https://github.com/golang/go synced 2024-11-22 04:04:40 -07:00

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
This commit is contained in:
Shenghou Ma 2012-03-05 11:12:58 +11:00 committed by Rob Pike
parent 30f9c99e3e
commit 4d7017dcd0
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ With Go we take an unusual
approach and let the machine approach and let the machine
take care of most formatting issues. take care of most formatting issues.
The <code>gofmt</code> program 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) operates at the package level rather than source file level)
reads a Go program reads a Go program
and emits the source in a standard style of indentation and emits the source in a standard style of indentation

View File

@ -65,7 +65,7 @@ With Go we take an unusual
approach and let the machine approach and let the machine
take care of most formatting issues. take care of most formatting issues.
The <code>gofmt</code> program 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) operates at the package level rather than source file level)
reads a Go program reads a Go program
and emits the source in a standard style of indentation and emits the source in a standard style of indentation