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
Refactor repository layout and convert build system to Mage.
This commit implements a massive refactor of the repository, and moves the build system over to use Mage (magefile.org) which should allow seamless building across multiple platforms.
This commit is contained in:
2
tools/vendor/github.com/golang/lint/golint/golint.go
generated
vendored
2
tools/vendor/github.com/golang/lint/golint/golint.go
generated
vendored
@@ -16,7 +16,7 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/golang/lint"
|
||||
"golang.org/x/lint"
|
||||
)
|
||||
|
||||
var (
|
||||
|
7
tools/vendor/github.com/golang/lint/golint/import.go
generated
vendored
7
tools/vendor/github.com/golang/lint/golint/import.go
generated
vendored
@@ -22,11 +22,10 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
var buildContext = build.Default
|
||||
|
||||
var (
|
||||
goroot = filepath.Clean(runtime.GOROOT())
|
||||
gorootSrc = filepath.Join(goroot, "src")
|
||||
buildContext = build.Default
|
||||
goroot = filepath.Clean(runtime.GOROOT())
|
||||
gorootSrc = filepath.Join(goroot, "src")
|
||||
)
|
||||
|
||||
// importPathsNoDotExpansion returns the import paths to use for the given
|
||||
|
Reference in New Issue
Block a user