module declares its path as: github.com/HdrHistogram/hdrhistogram-go but was required as: github.com/codahale/hdrhistogram
shtrom opened this issue · 2 comments
shtrom commented
Installing locally with go get github.com/mjibson/sqlfmt
, I get the following error:
go: downloading github.com/mjibson/sqlfmt v0.4.0
...
go get: github.com/codahale/hdrhistogram@none updating to
github.com/codahale/hdrhistogram@v1.1.2: parsing go.mod:
module declares its path as: github.com/HdrHistogram/hdrhistogram-go
but was required as: github.com/codahale/hdrhistogram
It looks like the simplest fix is to add a go.mod file with the correct path mapping HdrHistogram/hdrhistogram-go#30 (comment)
maddyblue commented
I've tried a few times to add a go.mod and the problem is cockroach's go.mod causes problems. I'm no longer in the Go space and I'm unlikely to try again. Would accept a PR though.
maddyblue commented
For anyone that tries this: use https://github.com/cockroachdb/cockroach-gen in a replace module for cockroach to avoid any need on Make.