From 123519bdd620fe207e05034ba6d973ae68d540fb Mon Sep 17 00:00:00 2001 From: samber Date: Mon, 1 Jul 2024 10:45:52 +0000 Subject: [PATCH] bump v2.4.0 --- 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 09f757e..7e93562 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.17.0 - go.uber.org/goleak v1.2.1 -) +require github.com/samber/slog-common v0.17.0 require ( github.com/samber/lo v1.44.0 // indirect diff --git a/go.sum b/go.sum index 7608e20..5bc199f 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.44.0 h1:5il56KxRE+GHsm1IR+sZ/6J42NODigFiqCWpSc2dybA= github.com/samber/lo v1.44.0/go.mod h1:RmDH9Ct32Qy3gduHQuKJ3gW1fMHAnE/fAzQuf6He5cU= github.com/samber/slog-common v0.17.0 h1:HdRnk7QQTa9ByHlLPK3llCBo8ZSX3F/ZyeqVI5dfMtI= github.com/samber/slog-common v0.17.0/go.mod h1:mZSJhinB4aqHziR0SKPqpVZjJ0JO35JfH+dDIWqaCBk= -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/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= -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..2149ec0 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.4.0" // replaced by .github/workflows/release.yml