]> Cypherpunks repositories - gostls13.git/commitdiff
doc/effective_go: minor fix
authorShenghou Ma <minux.ma@gmail.com>
Mon, 5 Mar 2012 00:12:58 +0000 (11:12 +1100)
committerRob Pike <r@golang.org>
Mon, 5 Mar 2012 00:12:58 +0000 (11:12 +1100)
        We have 'gofmt' and 'go fmt', but not 'go tool fmt'.

R=golang-dev, kyle, r
CC=golang-dev
https://golang.org/cl/5739043

doc/effective_go.html
doc/effective_go.tmpl

index 096a6552146ca521d7e403114b36554fc9f616bb..939d05a7d7b71f9fc78b6502a61cc52a4e9b539f 100644 (file)
@@ -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
index 340acb4d9f325caa0ffdb05ef746e6543d56351e..d95398931621830ec0455cbcf0aaef9a97c24a54 100644 (file)
@@ -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