github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/tools/imports/sortimports_compat.go (about)

     1  // +build !go1.2
     2  
     3  // Copyright 2013 The Go Authors. All rights reserved.
     4  // Use of this source code is governed by a BSD-style
     5  // license that can be found in the LICENSE file.
     6  
     7  package imports
     8  
     9  import "go/ast"
    10  
    11  // Go 1.1 users don't get fancy package grouping.
    12  // But this is still gofmt-compliant:
    13  
    14  var sortImports = ast.SortImports