go.tools/all: the the thes are too frequent, it's clear that that's not what we want

LGTM=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/98380043
This commit is contained in:
Rob Pike 2014-05-19 09:48:30 -07:00
parent 322a5f1b4c
commit a8c8f48be3
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ adding missing ones and removing unreferenced ones.
$ go get code.google.com/p/go.tools/cmd/goimports $ go get code.google.com/p/go.tools/cmd/goimports
It's a drop-in replacement for your editor's gofmt-on-save hook. It's a drop-in replacement for your editor's gofmt-on-save hook.
It has the the same command-line interface as gofmt and formats It has the same command-line interface as gofmt and formats
your code in the same way. your code in the same way.
For emacs, make sure you have the latest (Go 1.2+) go-mode.el: For emacs, make sure you have the latest (Go 1.2+) go-mode.el:

View File

@ -860,7 +860,7 @@ type SelectState struct {
// If the chosen channel was used for a receive, the r_i component is // If the chosen channel was used for a receive, the r_i component is
// set to the received value, where i is the index of that state among // set to the received value, where i is the index of that state among
// all n receive states; otherwise r_i has the zero value of type T_i. // all n receive states; otherwise r_i has the zero value of type T_i.
// Note that the the receive index i is not the same as the state // Note that the receive index i is not the same as the state
// index index. // index index.
// //
// The second component of the triple, recvOk, is a boolean whose value // The second component of the triple, recvOk, is a boolean whose value

View File

@ -29,7 +29,7 @@ replacement.
func before(s string) error { return fmt.Errorf("%s", s) } func before(s string) error { return fmt.Errorf("%s", s) }
func after(s string) error { return errors.New(s) } func after(s string) error { return errors.New(s) }
The expression statement form is useful when the the expression has no The expression statement form is useful when the expression has no
result, for example: result, for example:
func before(msg string) { log.Fatalf("%s", msg) } func before(msg string) { log.Fatalf("%s", msg) }