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
16 lines
213 B
Go
16 lines
213 B
Go
// +build !go1.4
|
|
|
|
package gotool
|
|
|
|
import (
|
|
"go/build"
|
|
"path/filepath"
|
|
"runtime"
|
|
)
|
|
|
|
var gorootSrc = filepath.Join(runtime.GOROOT(), "src", "pkg")
|
|
|
|
func shouldIgnoreImport(p *build.Package) bool {
|
|
return true
|
|
}
|