Contributions are always welcome, no matter how large or small. Substantial feature requests should be proposed as an RFC. Before contributing, please read the code of conduct.
- Latest Go version (al teast 1.8+)
- Properly set up
$GOPATH
andGOPATH/bin
added to$PATH
- Go's Dep tool installed:
- Install via:
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- Install via:
> cd $GOPATH/src
> mkdir -p github.com/inadarei/ && cd github.com/inadarei/
> git clone https://github.com/inadarei/justgo.git
> cd justgo/
> .githooks/install.sh
> dep ensure
> go run justgo.go <someFolderToTestInstallTo>
If you are using VS Code with Go tooling, you will want to change the default
"go.formatTool": "goreturns",
formatter to "go.formatTool": "gofmt",
instead
since the former seems unable to properly detect the usage of uuid in the code
and keeps removing the uuid package's import statement from code, making it
error-out during a build. Gofmt has no such issues.
We actively welcome your pull requests.
- Create an Issue or RFC for your contribution.
- Fork the repo and create your branch from
master
. - If you've added code that should be tested, add tests.
- Update the documentation.
- Ensure the test suite passes.
- Run gofmt and goimports.
By contributing to Justgo, you agree that your contributions will be licensed under its MIT license.