mirror of
https://github.com/golang/go
synced 2024-10-01 07:28:35 -06:00
The Go programming language
8524ce5143
import ( "fmt" "strings" ) When deleting "fmt" import statement, code should be converted to the following code. import ( "strings" ) Instead of import "strings" Diff becomes nicer by this change and it avoids that rewriting grouped imports non-grouped may result in confusion comments. Example: // comment 1 import ( "fmt" // comment 2 "strings" ) should be // comment 1 import ( // comment 2 "strings" ) instead of // comment 1 // comment 2 import "strings" Fixes golang/go#18051 Change-Id: I3c07b70b657191eacf83c3197a965e587286c950 Reviewed-on: https://go-review.googlesource.com/36853 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Robert Griesemer <gri@golang.org> |
||
---|---|---|
benchmark/parse | ||
blog | ||
cmd | ||
container/intsets | ||
cover | ||
go | ||
godoc | ||
imports | ||
playground | ||
present | ||
refactor | ||
third_party | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
codereview.cfg | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
LICENSE | ||
PATENTS | ||
README |
This subrepository holds the source for various packages and tools that support the Go programming language. Some of the tools, godoc and vet for example, are included in binary Go distributions. Others, including the Go guru and the test coverage tool, can be fetched with "go get". Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs. To submit changes to this repository, see http://golang.org/doc/contribute.html.