Skip to content

Commit

Permalink
Merge pull request #351 from airbrake/readme-tabs
Browse files Browse the repository at this point in the history
README: indent code using tabs, not spaces
  • Loading branch information
kyrylo authored Dec 22, 2022
2 parents bbe45c1 + ecef8a3 commit 24372c7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ When using Go Modules, you do not need to install anything to start using Airbra

```go
import (
"github.com/airbrake/gobrake/v5"
"github.com/airbrake/gobrake/v5"
)
```

Expand Down Expand Up @@ -71,21 +71,21 @@ This is the minimal example that you can use to test Gobrake with your project.
package main

import (
"errors"
"errors"

"github.com/airbrake/gobrake/v5"
"github.com/airbrake/gobrake/v5"
)

var airbrake = gobrake.NewNotifierWithOptions(&gobrake.NotifierOptions{
ProjectId: <YOUR PROJECT ID>, // <-- Fill in this value
ProjectKey: "<YOUR API KEY>", // <-- Fill in this value
Environment: "production",
ProjectId: <YOUR PROJECT ID>, // <-- Fill in this value
ProjectKey: "<YOUR API KEY>", // <-- Fill in this value
Environment: "production",
})

func main() {
defer airbrake.Close()
defer airbrake.Close()

airbrake.Notify(errors.New("operation failed"), nil)
airbrake.Notify(errors.New("operation failed"), nil)
}
```

Expand Down

0 comments on commit 24372c7

Please sign in to comment.