We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow.
- Code should be
go fmt
formatted. - Exported types, constants, variables and functions should be documented.
- Changes must be covered with tests.
- All tests must pass constantly
go test .
.
Direct Decisions Go client follows semantic versioning. New functionality should be accompanied by increment to the minor version number.
Any code which is complete, tested, reviewed, and merged to master can be released.
- Update the
version
number indirectdecisions.go
. - Make a pull request with these changes.
- Once the pull request has been merged, visit https://github.com/directdecisions/client-go/releases and click
Draft a new release
. - Update the
Tag version
andRelease title
field with the new Direct Decisions Go client version. Be sure the version has av
prefixed in both places, e.g.v1.25.0
. - Publish the release.