cespare / xxhash

A Go implementation of the 64-bit xxHash algorithm (XXH64)
MIT License
1.79k stars 123 forks source link

fake the package #37

Closed Andrewjeska closed 4 years ago

cespare commented 4 years ago

This would need a PR title and description that says what the purpose is and justifies it.

Looking at the code, I see that it's moving all the code into the v2/ directory, which is necessary for backwards compatibility with very old Go versions. I don't care to structure my repository to support those versions -- projects using old Go versions should just upgrade, and if they cannot they are free to vendor v1 of this package, fork it and make a change, or use a different xxhash package.

As stated in the readme, any of the following Go versions understand how to use v2 of this package: