Skip to content

Commit

Permalink
fix v2
Browse files Browse the repository at this point in the history
  • Loading branch information
samber committed Oct 21, 2023
1 parent f89c775 commit 4321a02
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ A [Sentry](https://sentry.io) Handler for [slog](https://pkg.go.dev/log/slog) Go
## 🚀 Install

```sh
go get github.com/samber/slog-sentry
go get github.com/samber/slog-sentry/v2
```

**Compatibility**: go >= 1.21

No breaking changes will be made to exported APIs before v2.0.0.
No breaking changes will be made to exported APIs before v3.0.0.

## 💡 Usage

GoDoc: [https://pkg.go.dev/github.com/samber/slog-sentry](https://pkg.go.dev/github.com/samber/slog-sentry)
GoDoc: [https://pkg.go.dev/github.com/samber/slog-sentry/v2](https://pkg.go.dev/github.com/samber/slog-sentry/v2)

### Handler options

Expand Down Expand Up @@ -118,7 +118,7 @@ The Sentry agent is responsible for collecting `modules`.
```go
import (
"github.com/getsentry/sentry-go"
slogsentry "github.com/samber/slog-sentry"
slogsentry "github.com/samber/slog-sentry/v2"
"log/slog"
)

Expand Down
2 changes: 1 addition & 1 deletion example/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"log/slog"

"github.com/getsentry/sentry-go"
slogsentry "github.com/samber/slog-sentry"
slogsentry "github.com/samber/slog-sentry/v2"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/samber/slog-sentry
module github.com/samber/slog-sentry/v2

go 1.21

Expand Down

0 comments on commit 4321a02

Please sign in to comment.