mirror of
https://github.com/golang/go
synced 2024-11-24 21:00:09 -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:
parent
30f9c99e3e
commit
4d7017dcd0
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user