This doc is intended for contributors to cadence-client
(hopefully that's you!)
Note: All contributors also need to fill out the Uber Contributor License Agreement before we can merge in any of your changes
- Go. Install on OS X with
brew install go
. The minimum required Go version is 1.10. thrift
. Install on OS X withbrew install thrift
.thrift-gen
. Install withgo get github.com/uber/tchannel-go/thrift/thrift-gen
.
Make sure the repository is cloned to the correct location:
(Note: the path is go.uber.org/cadence/
instead of github repo)
go get go.uber.org/cadence/...
cd $GOPATH/src/go.uber.org/cadence
Dependencies are tracked via Gopkg.toml
. If you're not familiar with dep
,
read the docs.
This project is Open Source Software, and requires a header at the beginning of all source files. To verify that all files contain the header execute:
make copyright
Overcommit adds some requirements to your commit messages. At Uber, we follow the Chris Beams guide to writing git commit messages. Read it, follow it, learn it, love it.
Run all the tests with coverage and race detector enabled:
make test