-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
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
Build errors without using modules #219
Comments
Howdy @acsbendi! It looks like you may be attempting to build against the latest version of that prometheus client. With Go Modules, gizmo currently has that client pinned at version v0.9.2, where those do functions exist. Have you tried this using Go 1.11+ and Go Modules? Here's some documentation that should help: https://github.com/golang/go/wiki/Modules#how-to-install-and-activate-module-support |
Yes, it's when I don't use Go modules. I just thought it's a good idea to let you know about this problem, since there might be a good reason why the missing parts were removed from prometheus. When I build with modules, everything is okay, thanks for the suggestion. |
I'm running my apps with [[override]]
name = "github.com/prometheus/client_golang"
version = "0.9.2" |
Did we find a root cause for this? Is using an old version the only solution? |
When trying to build
simple_server.go
(as a dependency of another project), I get the following build errors:The text was updated successfully, but these errors were encountered: