Honeybadger example for Go
Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Godeps
.gitignore
Procfile
README.md
app.json
main.go

README.md

Honeybadger Test Go App

Welcome to a simple Go (golang) application that allows you to test the Honeybadger monitoring platform for Go apps. Honeybadger allows you to easily monitor for panics and errors in your Go applications.

Quick Start

The easiest way to get started with this application is to deploy it to Heroku with the Heroku Button:

Deploy

Slightly Less Quick Start

If you'd like to do it the old fashioned way, follow these steps:

  1. Sign up or sign in at Honeybadger.io
  2. Create a new project and make a note of the api key on the settings page
  3. Clone or download this app
  4. Run go get to get the necessary dependencies installed
  5. Run go build to build the app
  6. Run the app: HONEYBADGER_ENV=production HONEYBADGER_API_KEY=your_api_key_here ./crywolf-go

Trying It Out

Once you have the app running, either on Heroku or on your local machine, browse to the running Go app. When you click on the first link, an error will be triggered and reported to Honeybadger. Check your email for a message from Honeybadger with a link to the error you just recorded.

Enjoy!

We hope this sample app gives you an easy way to see just how awesome Honeybadger is. :) If you have any questions about this app or the Honeybadger monitoring service, please feel free to drop us a line at support@honeybadger.io.