Skip to content

Conversation

@SamWhited
Copy link
Contributor

Like processone/mpg123#1, this patch adds basic support for Go Modules, the new packaging standard that will be on by default Go 1.12. Experimental support is in Go 1.11 and the new module paths are supported in Go 1.9.7+ and Go 1.10.3+ in a read-only manner for backwards compatibility with all supported versions of Go.

Because this library is still below version 2, and has few external dependencies, the go.mod file is fairly simple. If you accept this PR, the only other thing to do would be to start using semver compatible tags and tag a release of this library that others can pin to (for example v0.0.1 or v1.0.0).

The go.sum file in this patch is used to verify that when users download a particular version of your dependencies, they are seeing the same thing you saw (eg. in case of a Git hash collision, or a malicious package author that tries to change things after the fact).

Thank you for your consideration, I look forward to being able to pin to a specific version of these libraries.

@mremond mremond self-assigned this Jan 17, 2019
@mremond mremond merged commit 095f949 into processone:master Jan 17, 2019
@SamWhited SamWhited deleted the support_modules branch January 17, 2019 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants