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 2d1af7a commit f2422ce
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 [webhook](https://webhook.com) Handler for [slog](https://pkg.go.dev/log/slog)
## 🚀 Install

```sh
go get github.com/samber/slog-webhook
go get github.com/samber/slog-webhook/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-webhook](https://pkg.go.dev/github.com/samber/slog-webhook)
GoDoc: [https://pkg.go.dev/github.com/samber/slog-webhook/v2](https://pkg.go.dev/github.com/samber/slog-webhook/v2)

### Handler options

Expand Down Expand Up @@ -113,7 +113,7 @@ import (
"net/http"
"time"

slogwebhook "github.com/samber/slog-webhook"
slogwebhook "github.com/samber/slog-webhook/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 @@ -5,7 +5,7 @@ import (
"net/http"
"time"

slogwebhook "github.com/samber/slog-webhook"
slogwebhook "github.com/samber/slog-webhook/v2"

"log/slog"
)
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-webhook
module github.com/samber/slog-webhook/v2

go 1.21

Expand Down

0 comments on commit f2422ce

Please sign in to comment.