You've already forked postgres_exporter
mirror of
https://github.com/prometheus-community/postgres_exporter.git
synced 2025-08-08 04:42:07 +03:00
Add self-contained gometalinter build tooling.
This commit is contained in:
15
tools/vendor/github.com/kisielk/gotool/go14-15.go
generated
vendored
Normal file
15
tools/vendor/github.com/kisielk/gotool/go14-15.go
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// +build go1.4,!go1.6
|
||||
|
||||
package gotool
|
||||
|
||||
import (
|
||||
"go/build"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
var gorootSrc = filepath.Join(runtime.GOROOT(), "src")
|
||||
|
||||
func shouldIgnoreImport(p *build.Package) bool {
|
||||
return true
|
||||
}
|
Reference in New Issue
Block a user