Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: better diagnostics for package missing in latest version #27102
Related Issue: prometheus/client_golang#442
What version of Go are you using (
The problem is that github.com/prometheus/client_golang/api/prometheus/v1 does not exist in the latest tagged commit of github.com/prometheus/client_golang, which is v0.8.0 and is quite old.
To get the latest commit on the master branch instead of the latest tagged commit, run:
Then your build will work. And maybe encourage the owners of github.com/prometheus/client_golang to tag v0.9.0.