From 4d7017dcd02a4fb35b2cd3b31b852d858bd5fbb3 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Mon, 5 Mar 2012 11:12:58 +1100 Subject: [PATCH] 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 --- doc/effective_go.html | 2 +- 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 096a6552146..939d05a7d7b 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 340acb4d9f3..d9539893162 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