lucasb-eyer / go-colorful

A library for playing with colors in go (golang).
MIT License
1.16k stars 59 forks source link

Support Go Modules #32

Closed SamWhited closed 5 years ago

SamWhited commented 5 years ago

Hello,

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 is still below version 2, and doesn't have many dependencies the go.mod file is fairly simple. The only other thing that would need to happen is that future releases would need to have semver compatible tags. If you choose to merge this PR, please tag the merge commit as v1.0.1 or similar so that users can pin to the new tagged version with the go.mod file instead of relying on the special compatibility imports.

Thank you for your consideration.

SamWhited commented 5 years ago

Gentle ping :)

lucasb-eyer commented 5 years ago

Thanks for the PR and the instructions about tags. I hope I got it right, let me know if not! (haven't been following golang developments anymore lately.)