vikunja/vendor/github.com/kisielk/gotool/go16-18.go
konrad 018dd8164c
All checks were successful
the build was successful
[CI] Add more checks (#43)
2018-12-28 22:15:05 +00:00

16 lines
246 B
Go

// +build go1.6,!go1.9
package gotool
import (
"go/build"
"path/filepath"
"runtime"
)
var gorootSrc = filepath.Join(runtime.GOROOT(), "src")
func shouldIgnoreImport(p *build.Package) bool {
return p == nil || len(p.InvalidGoFiles) == 0
}