You are using dep, which is deprecated. From
https://github.com/golang/dep: "As of 2020, Dep is deprecated and
archived in favor of Go modules, which have had official support since
Go 1.11. For more details, see
https://golang.org/ref/mod."
The above error happens because of the way Go modules deals with major
versions beyond 1.x. (And
github.com/cespare/xxhash/v2 is a Go module
with v2.x.) That's not understood by dep.
You have to either use Go modules or do something manual to get your
dependencies into place.
--
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email]
bjo...@rabenste.in