deps: Replace github.com/mitchellh/hashstructure/v2 with github.com/gohugoio/hashstructure

The old repo is archived and no longer maintained.

See #11644
This commit is contained in:
Bjørn Erik Pedersen
2024-07-30 12:13:28 +02:00
parent 2babd6404e
commit c9d7577cb4
3 changed files with 5 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ import (
"sync"
"github.com/cespare/xxhash/v2"
"github.com/mitchellh/hashstructure/v2"
"github.com/gohugoio/hashstructure"
)
// HashString returns a hash from the given elements.
@@ -66,7 +66,7 @@ func HashUint64(vs ...any) uint64 {
hashOpts := getHashOpts()
defer putHashOpts(hashOpts)
hash, err := hashstructure.Hash(o, hashstructure.FormatV2, hashOpts)
hash, err := hashstructure.Hash(o, hashOpts)
if err != nil {
panic(err)
}