Development
For newcomers to Go, you can’t just git clone your forked repo and work from
there, due to how Go’s GOPATH works. You can follow the steps below to get started:
- Fork this repository to your own account (named
myforkbelow) - Make sure you have Consul and Vault installed in your
$PATH go get github.com/fabiolb/fabio, change to the directory where the code was cloned ($GOPATH/src/github.com/fabiolb/fabio) and add your fork as remote:git remote add myfork git@github.com:myfork/fabio.git- Hack away!
go fmtandmake testyour code- Commit your changes and push to your own fork:
git push myfork - Create a pull-request