diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-07-30 12:13:28 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-07-31 16:44:06 +0200 |
commit | c9d7577cb4cf6ce22f969390c82eda27b6240e07 (patch) | |
tree | 04d9ea01a36725b5110165f8ce8801f534c7008a /identity | |
parent | 2babd6404e072c4429511a061e8d7e5818679a37 (diff) | |
download | hugo-c9d7577cb4cf6ce22f969390c82eda27b6240e07.tar.gz hugo-c9d7577cb4cf6ce22f969390c82eda27b6240e07.zip |
deps: Replace github.com/mitchellh/hashstructure/v2 with github.com/gohugoio/hashstructure
The old repo is archived and no longer maintained.
See #11644
Diffstat (limited to 'identity')
-rw-r--r-- | identity/identityhash.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/identity/identityhash.go b/identity/identityhash.go index 7d3b83a0d..669a00a49 100644 --- a/identity/identityhash.go +++ b/identity/identityhash.go @@ -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) } |