👍First of all, thanks for your time to contribute!🎉
The following is a set of guidelines for` contributing to IBM Cloud CLI SDK. If you have any suggestion or issue regarding IBM Cloud CLI, you can go to ibm-cloud-cli-releases and file issues there.
We follow the offical CodeReviewComments. Make sure you run gofmt and go vet to fix any major changes.
Make sure you have good unit test. Run go test -cover $(go list ./...)
, and ensure coverage is above 80% for major packages (aka packages other than i18n, fakes, docs...).
Good commit message will greatly help review. We recommend AngularJS spec of commit message. You can use commitzen to help you compose the commit.