Skip to content

Commit

Permalink
update readme docs to the new style
Browse files Browse the repository at this point in the history
  • Loading branch information
rokob committed Jan 31, 2018
1 parent 34203a1 commit c7cb533
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ func main() {

result, err := DoSomething()
if err != nil {
rollbar.Error(rollbar.ERR, err)
rollbar.Critical(err)
}

rollbar.Message("info", "Message body goes here")
rollbar.Info("Message body goes here")

rollbar.Wait()
}
Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Basic Usage
result, err := DoSomething()
if err != nil {
rollbar.Error(err)
rollbar.Critical(err)
}
rollbar.Info("Message body goes here")
Expand Down

0 comments on commit c7cb533

Please sign in to comment.