- 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
$GOPATH
in~/.bashrc
export 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 test
If you've made significant changes, please also test the appengine integration with
goapp test
If 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.md
and 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
-
Update the setup guides for Go (and its frameworks) on docs.bugsnag.com with any new content.