Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 1.36 KB

CONTRIBUTING.md

File metadata and controls

65 lines (42 loc) · 1.36 KB

Contributing

Getting Started

Ensure your $GOPATH is not blank. It should be something like export GOPATH=$HOME/go:

echo $GOPATH

Clone the repository in your workspace and move into it:

mkdir -p $GOPATH/src/github.com/dnsimple && cd $_
git clone [email protected]:dnsimple/strillone.git
cd strillone

Install standard Go development tooling:

cd ~
go get -u golang.org/x/lint/golint

Install standard Application development tooling:

cd ~
brew install overmind

Compilation

make build

Testing

To run the test suite:

make test

Running

make start

Go standard tooling

Go Development Tooling Wiki

Go version management

The current Go version is defined in the .tool-versions file. Contributors are expected to use asdf to install and manage Go running environments.

Go modules are enabled. The file go.mod MUST include the go directive to determine the language feature used by go commands.

Dependency management

Dependencies are managed using Go modules. Learn how to update the dependencies.