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:
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: