Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Support Go Modules #85
Please consider supporting Go Modules, the new packaging standard that will be adopted fully in 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 has only one external dependency (and only during testing) which already supports modules, is still v1, and is already using semver compatible tags, the
This is fully backwards compatible because versions of Go older than 1.9.7 will ignore the mod file and import this package as they always have.
I have also taken the liberty of bumping Travis to test against supported versions of Go that are still receiving security updates, if this is incorrect and you support unsupported versions of Go, I'll happily change it back, I just thought it would be easier to test against versions that support modules.
To manage the mod file yourself in the future, use Go 1.11+ and run the command
EDIT: The test failures appear to be unrelated. Tests are passing, but the coveralls secret isn't being set.