Skip to content

vendor: migrate to github.com/gohugoio/hashstructure#6881

Draft
thaJeztah wants to merge 1 commit into
moby:masterfrom
thaJeztah:switch_hashstructure
Draft

vendor: migrate to github.com/gohugoio/hashstructure#6881
thaJeztah wants to merge 1 commit into
moby:masterfrom
thaJeztah:switch_hashstructure

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

The github.com/mitchellh/hashstructure/v2 module was archived, and there's a maintained fork in the gohugoio org.

@thaJeztah

thaJeztah commented Jun 17, 2026

Copy link
Copy Markdown
Member Author

One thing I'd want to change is its dependency on github.com/cespare/xxhash/v2 v2.3.0;
https://github.com/gohugoio/hashstructure/blob/155c31eaa47bce9d75c4742bba48f9bc3b5e66f3/go.mod#L5

Which is kinda silly because it's only used in a Benchmark to bench github.com/gohugoio/hashstructure when using github.com/cespare/xxhash/v2; gohugoio/hashstructure@72666c8

The github.com/mitchellh/hashstructure/v2 module was archived, and
there's a maintained fork in the gohugoio org.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah force-pushed the switch_hashstructure branch from a6304bf to 50b548a Compare June 17, 2026 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant