From 41bd7b9013f6d8c4d0a759ced5b68b6b3bb2999a Mon Sep 17 00:00:00 2001 From: samber Date: Mon, 11 Nov 2024 10:26:01 +0000 Subject: [PATCH] bump v3.5.1 --- go.mod | 2 +- main_test.go | 11 ----------- version.go | 2 +- 3 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 main_test.go diff --git a/go.mod b/go.mod index e83b785..4c2c45c 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,6 @@ require ( github.com/grafana/loki-client-go v0.0.0-20230116142646-e7494d0ef70c github.com/prometheus/common v0.60.1 github.com/samber/slog-common v0.17.1 - go.uber.org/goleak v1.3.0 ) require ( @@ -38,6 +37,7 @@ require ( github.com/samber/lo v1.44.0 // indirect github.com/stretchr/testify v1.9.0 // indirect go.uber.org/atomic v1.9.0 // indirect + go.uber.org/goleak v1.3.0 // indirect golang.org/x/net v0.29.0 // indirect golang.org/x/oauth2 v0.23.0 // indirect golang.org/x/sys v0.25.0 // indirect diff --git a/main_test.go b/main_test.go deleted file mode 100644 index 8152543..0000000 --- a/main_test.go +++ /dev/null @@ -1,11 +0,0 @@ -package slogloki - -import ( - "testing" - - "go.uber.org/goleak" -) - -func TestMain(m *testing.M) { - goleak.VerifyTestMain(m) -} diff --git a/version.go b/version.go index da22460..432ffb1 100644 --- a/version.go +++ b/version.go @@ -4,4 +4,4 @@ package slogloki const name = "samber/slog-loki" // nolint:unused -const version = "VERSION" // replaced by .github/workflows/release.yml +const version = "v3.5.1" // replaced by .github/workflows/release.yml