- Fork the notifier on github
- Build and test your changes
- Commit and push until you are happy with your contribution
- Make a pull request
- Thanks!
-
Install homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" -
Install go
brew install go --cross-compile-all -
Configure
$GOPATHin~/.bashrcexport GOPATH="$HOME/go" export PATH=$PATH:$GOPATH/bin
- Follow the Google instructions.
You can download the code and its dependencies using
go get -t github.com/bugsnag/bugsnag-go
It will be put into "$GOPATH/src/github.com/bugsnag/bugsnag-go"
Then install depend
You can run the tests with
go testIf you've made significant changes, please also test the appengine integration with
goapp testIf you are a project maintainer, you can build and release a new version of
bugsnag-go as follows:
-
Commit all your changes.
-
Update the version number in
bugsnag.go. -
Add an entry to
CHANGELOG.mdand update the README if necessary. -
commit tag and push
git commit -mv1.0.x && git tag v1.0.x && git push origin v1.0.x