From: Shenghou Ma Date: Mon, 5 Mar 2012 00:12:58 +0000 (+1100) Subject: doc/effective_go: minor fix X-Git-Tag: weekly.2012-03-04~7 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4d7017dcd02a4fb35b2cd3b31b852d858bd5fbb3;p=gostls13.git 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 --- 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 gofmt program -(also available as go tool fmt, which +(also available as go fmt, 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 gofmt program -(also available as go tool fmt, which +(also available as go fmt, 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