We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It appears that 'go get' is no longer supported due to changes with golang.
The replacement command would be 'go install' which would replace both get & build.
e.g.
go install github.com/griesbacher/nagflux@latest
Unfortunately, this fails for me with the below error due to changes to prometheus.
go/pkg/mod/github.com/griesbacher/[email protected]/statistics/prometheus.go:110:39: undefined: prometheus.Handler
My understanding is that this line now needs to read promhttp.Handler not prometheus.Handler
Also, the import statement in this go file needs editing to include the prometheus promhttp module.
I have been unable to get this working as I have little experience with go projects.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It appears that 'go get' is no longer supported due to changes with golang.
The replacement command would be 'go install' which would replace both get & build.
e.g.
go install github.com/griesbacher/nagflux@latest
Unfortunately, this fails for me with the below error due to changes to prometheus.
go/pkg/mod/github.com/griesbacher/[email protected]/statistics/prometheus.go:110:39: undefined: prometheus.Handler
My understanding is that this line now needs to read promhttp.Handler not prometheus.Handler
Also, the import statement in this go file needs editing to include the prometheus promhttp module.
I have been unable to get this working as I have little experience with go projects.
The text was updated successfully, but these errors were encountered: