1
0
mirror of https://github.com/golang/go synced 2024-11-18 22:34:45 -07:00
go/imports
Brad Fitzpatrick a0c2140b91 imports: fix a case where we weren't gofmt-compatible
Because goimports also sorts stdlib-vs-external differently
(whereas gofmt just sorts string-wise), we need to put a blank
line between imports of different classes. This happened in
some cases, but not all.

Fixes golang/go#7132

LGTM=kamil.kisiel
R=golang-codereviews, kamil.kisiel
CC=golang-codereviews
https://golang.org/cl/60870047
2014-02-07 17:03:34 -08:00
..
fix_test.go imports: fix a case where we weren't gofmt-compatible 2014-02-07 17:03:34 -08:00
fix.go imports: bake in the standard library again 2014-01-26 09:47:31 -08:00
imports.go imports: fix a case where we weren't gofmt-compatible 2014-02-07 17:03:34 -08:00
mkindex.go go.tools/imports: move goimports from github to go.tools. 2013-12-17 21:21:03 -05:00
mkstdlib.go imports: bake in the standard library again 2014-01-26 09:47:31 -08:00
sortimports_compat.go go.tools/imports: move goimports from github to go.tools. 2013-12-17 21:21:03 -05:00
sortimports.go go.tools/imports: move goimports from github to go.tools. 2013-12-17 21:21:03 -05:00
zstdlib.go imports: bake in the standard library again 2014-01-26 09:47:31 -08:00