-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
if go build by default(no modification aafter git clone) , there will be an error message
go build
postgresql_exporter.go:17:2: cannot find package "github.com/mc2soft/postgresql_exporter/metrics" in any of:
/home/mnn/go/src/postgresql_exporter/vendor/github.com/mc2soft/postgresql_exporter/metrics (vendor tree)
/home/mnn/go/src/postgresql_exporter/vendor/github.com/mc2soft/postgresql_exporter/metrics
/home/mnn/go/src/postgresql_exporter/vendor/github.com/mc2soft/postgresql_exporter/metrics
/usr/lib/go-1.6/src/github.com/mc2soft/postgresql_exporter/metrics (from $GOROOT)
/home/mnn/bin/src/github.com/mc2soft/postgresql_exporter/metrics (from $GOPATH)
/home/mnn/bin/src/github.com/mc2soft/postgresql_exporter/metrics
/home/mnn/bin/src/github.com/mc2soft/postgresql_exporter/metrics
/home/mnn/bin/src/github.com/mc2soft/postgresql_exporter/metrics
/usr/local/sbin/src/github.com/mc2soft/postgresql_exporter/metrics
/usr/local/bin/src/github.com/mc2soft/postgresql_exporter/metrics
/usr/sbin/src/github.com/mc2soft/postgresql_exporter/metrics
/usr/bin/src/github.com/mc2soft/postgresql_exporter/metrics
/sbin/src/github.com/mc2soft/postgresql_exporter/metrics
/bin/src/github.com/mc2soft/postgresql_exporter/metrics
/usr/games/src/github.com/mc2soft/postgresql_exporter/metrics
/usr/local/games/src/github.com/mc2soft/postgresql_exporter/metrics
/snap/bin/src/github.com/mc2soft/postgresql_exporter/metrics
/home/mnn/go/src/github.com/mc2soft/postgresql_exporter/metrics
/home/mnn/go/src/github.com/mc2soft/postgresql_exporter/metrics
/home/mnn/go/src/github.com/mc2soft/postgresql_exporter/metrics
so I have to manually copy the metric folder to /home/mnn/go/src/postgresql_exporter/vendor/github.com/mc2soft/postgresql_exporter/metrics and the go build .
is that normal ??
Metadata
Metadata
Assignees
Labels
No labels