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:
parent
322a5f1b4c
commit
a8c8f48be3
|
@ -6,7 +6,7 @@ adding missing ones and removing unreferenced ones.
|
|||
$ 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 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.
|
||||
|
||||
For emacs, make sure you have the latest (Go 1.2+) go-mode.el:
|
||||
|
|
|
@ -860,7 +860,7 @@ type SelectState struct {
|
|||
// 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
|
||||
// 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.
|
||||
//
|
||||
// The second component of the triple, recvOk, is a boolean whose value
|
||||
|
|
|
@ -29,7 +29,7 @@ replacement.
|
|||
func before(s string) error { return fmt.Errorf("%s", 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:
|
||||
|
||||
func before(msg string) { log.Fatalf("%s", msg) }
|
||||
|
|
Loading…
Reference in New Issue