From 15116b03e00afc9439dc319f31956e66e2e4533e Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Sat, 21 Oct 2023 21:10:44 +0200 Subject: [PATCH] fix v2 --- README.md | 8 ++++---- example/example.go | 2 +- go.mod | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ef7c30f..c55362b 100644 --- a/README.md +++ b/README.md @@ -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 @@ -93,7 +93,7 @@ import ( "net" "time" - slogsyslog "github.com/samber/slog-syslog" + slogsyslog "github.com/samber/slog-syslog/v2" ) func main() { diff --git a/example/example.go b/example/example.go index 0cc645c..e6dd0e6 100644 --- a/example/example.go +++ b/example/example.go @@ -8,7 +8,7 @@ import ( "log/slog" - slogsyslog "github.com/samber/slog-syslog" + slogsyslog "github.com/samber/slog-syslog/v2" ) func main() { diff --git a/go.mod b/go.mod index 632e43a..d42d887 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/samber/slog-syslog +module github.com/samber/slog-syslog/v2 go 1.21