imports: Remove ancient Go 1.1 compatibility indirections.
Change-Id: Id389cba2d3696c3bd2c2987ddc1768059747e8ac Reviewed-on: https://go-review.googlesource.com/17793 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
e842f6af3a
commit
8297301f3a
|
@ -1,5 +1,3 @@
|
||||||
// +build go1.2
|
|
||||||
|
|
||||||
// Copyright 2013 The Go Authors. All rights reserved.
|
// Copyright 2013 The Go Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
// +build !go1.2
|
|
||||||
|
|
||||||
// Copyright 2013 The Go Authors. All rights reserved.
|
|
||||||
// Use of this source code is governed by a BSD-style
|
|
||||||
// license that can be found in the LICENSE file.
|
|
||||||
|
|
||||||
package imports
|
|
||||||
|
|
||||||
import "go/ast"
|
|
||||||
|
|
||||||
// Go 1.1 users don't get fancy package grouping.
|
|
||||||
// But this is still gofmt-compliant:
|
|
||||||
|
|
||||||
var sortImports = ast.SortImports
|
|
Loading…
Reference in New Issue