Skip to content
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

go/pkg/mod/github.com/bojand/[email protected]/printer/prometheus.go:16:46: undefined: expfmt.FmtText #439

Open
hutm opened this issue May 9, 2024 · 0 comments

Comments

@hutm
Copy link

hutm commented May 9, 2024

Proto file(s)
N/A

Command line arguments / config
N/A

Describe the bug
installing library in go 1.21 fails to import

github.com/bojand/ghz/printer
go/pkg/mod/github.com/bojand/[email protected]/printer/prometheus.go:16:46: undefined: expfmt.FmtText

downgrading to previous version of prometheus common fixes the issue:

replace github.com/prometheus/common v0.53.0 => github.com/prometheus/common v0.45.0

To Reproduce
Steps to reproduce the behavior:
steps above

Expected behavior
A clear and concise description of what you expected to happen.
should work without dependency lib downgrade

Environment

  • OS: [e.g. macOS 14.4.1]
  • ghz: [e.g. 0.118.0]

Screenshots
If applicable, add screenshots to help explain your problem.
N/A
Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant