⭐️⭐️⭐️⭐️⭐️ First off thanks for taking the time to contribute ⭐️⭐️⭐️⭐️⭐️
This project is extremely simple and gives a generic way to get a version out of
your goreleaser
and cobra
projects. All the code is contained in a single
package version.go
.
If you are interested in contributing to this project here are a couple things that I would like to add.
-
Issue: #1 Support for custom attributes
-X main.foobar=<blah>
and updatinggoVersion.New()
to take a splat or map of addition params. -
Issue: #2 Ability to Output to
yaml
-
Issue: #3 Func for taking in a type string and outputting the right response
Example:
info := goVersion.New(...) info.Output('json')
-
Issue: #4 Tests 😳