go get github.com/prometheus/client_golang@v1.14.0 go mod tidy go mod vendor
Latest doesn't need gross deps hacks.
As per discussion with Go team. it's hacky but it works. create tools.go git add tools.go go mod vendor git add vendor go mod tidy go mod vendor # again