gitee.com/wgliang/goreporter@v0.0.0-20180902115603-df1b20f7c5d0/linters/simplecode/gotool/go14-15.go (about)

     1  // +build go1.4,!go1.6
     2  
     3  package gotool
     4  
     5  import (
     6  	"go/build"
     7  	"path/filepath"
     8  	"runtime"
     9  )
    10  
    11  var gorootSrc = filepath.Join(runtime.GOROOT(), "src")
    12  
    13  func shouldIgnoreImport(p *build.Package) bool {
    14  	return true
    15  }