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 aa9afb4 commit 15116b0
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 Syslog Handler for [slog](https://pkg.go.dev/log/slog) Go library.
## 🚀 Install

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

### Handler options

Expand Down Expand Up @@ -93,7 +93,7 @@ import (
"net"
"time"

slogsyslog "github.com/samber/slog-syslog"
slogsyslog "github.com/samber/slog-syslog/v2"
)

func main() {
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"

slogsyslog "github.com/samber/slog-syslog"
slogsyslog "github.com/samber/slog-syslog/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-syslog
module github.com/samber/slog-syslog/v2

go 1.21

Expand Down

0 comments on commit 15116b0

Please sign in to comment.