Skip to content

Commit

Permalink
Add config to README.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Wood committed Jun 8, 2015
1 parent e8489f3 commit 9ef4487
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -18,6 +18,13 @@ Then add an import to your application code:
import "github.com/honeybadger-io/honeybadger-go"
```

Finally, configure your API key:

```go
honeybadger.Configure(Config{APIKey: "your api key"})
)
```

## Manually reporting panics

To report a panic manually, use `honeybadger.Notify`:
Expand Down

0 comments on commit 9ef4487

Please sign in to comment.