We're always open to new issues or pull requests.
Create a new issue with a brief explanation of the problem. Please include your snag file and logs to help us best diagnose the issue.
Snag is ever evolving and we want to make sure everyone can get as much use out of the tool as we did. If there is something you'd like snag to be able to do create a new issue with a description of the feature you're looking for.
In order to build and test snag properly, you need to use go1.5+
with the GO15VENDOREXPERIMENT
environment variable set to 1
.
Before you start writing code, we suggest that you build a version of snag with all the changes in the master branch that you can use to test your changes with:
go build -o snagMaster
Afterward just run ./snagMaster
and develop away!
We highly recommend using snag to build, lint and test your code before submitting a pull request since our snag file is very similar to our travis file. We will try to at least comment on pull requests within a couple of days. We may suggest some changes or improvements or alternatives.
Some things that will increase the chance that your pull request is accepted:
- Write tests.
- Format your code.
- Write a good commit message.