From fe9a3c3ee54d9b1b175b86958263c418218d6050 Mon Sep 17 00:00:00 2001 From: samber Date: Sun, 14 Apr 2024 00:33:05 +0000 Subject: [PATCH] bump v2.2.1 --- go.mod | 5 +---- go.sum | 10 ---------- main_test.go | 11 ----------- version.go | 2 +- 4 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 main_test.go diff --git a/go.mod b/go.mod index cf7a269..fe48dca 100644 --- a/go.mod +++ b/go.mod @@ -2,10 +2,7 @@ module github.com/samber/slog-syslog/v2 go 1.21 -require ( - github.com/samber/slog-common v0.15.1 - go.uber.org/goleak v1.2.1 -) +require github.com/samber/slog-common v0.15.1 require ( github.com/samber/lo v1.38.1 // indirect diff --git a/go.sum b/go.sum index 74712ca..4b29608 100644 --- a/go.sum +++ b/go.sum @@ -1,16 +1,6 @@ -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/samber/lo v1.38.1 h1:j2XEAqXKb09Am4ebOg31SpvzUTTs6EN3VfgeLUhPdXM= github.com/samber/lo v1.38.1/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA= github.com/samber/slog-common v0.15.1 h1:0HIQ/a8nqMeqAfc2vbGbnuBwmXzgZAhODbA4oPUXPeg= github.com/samber/slog-common v0.15.1/go.mod h1:Qjrfhwk79XiCIhBj8+jTq1Cr0u9rlWbjawh3dWXzaHk= -github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A= -go.uber.org/goleak v1.2.1/go.mod h1:qlT2yGI9QafXHhZZLxlSuNsMw3FFLxBr+tBRlmO1xH4= golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 h1:k/i9J1pBpvlfR+9QsetwPyERsqu1GIbi967PQMq3Ivc= golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/main_test.go b/main_test.go deleted file mode 100644 index 45b5630..0000000 --- a/main_test.go +++ /dev/null @@ -1,11 +0,0 @@ -package slogsyslog - -import ( - "testing" - - "go.uber.org/goleak" -) - -func TestMain(m *testing.M) { - goleak.VerifyTestMain(m) -} diff --git a/version.go b/version.go index 98dfa58..04badb9 100644 --- a/version.go +++ b/version.go @@ -1,4 +1,4 @@ package slogsyslog const name = "samber/slog-syslog" -const version = "VERSION" // replaced by .github/workflows/release.yml +const version = "v2.2.1" // replaced by .github/workflows/release.yml