From b2e411b646a05dd675fe50a6e3648779529c55f1 Mon Sep 17 00:00:00 2001 From: Florian Knigge Date: Fri, 25 Oct 2024 14:32:05 +0200 Subject: [PATCH 1/3] Update dependencies --- go.mod | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 92534e7..71dd573 100644 --- a/go.mod +++ b/go.mod @@ -2,15 +2,12 @@ module github.com/niondir/go-service go 1.22 -require ( - github.com/stretchr/testify v1.7.0 -) +require github.com/stretchr/testify v1.9.0 require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/kr/text v0.2.0 // indirect - github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect - gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect + gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect ) From c5ce9c79e85f20ef2689e24baad276984becfc55 Mon Sep 17 00:00:00 2001 From: Florian Knigge Date: Fri, 25 Oct 2024 14:32:23 +0200 Subject: [PATCH 2/3] Update go version to v1.23 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 71dd573..a38f234 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/niondir/go-service -go 1.22 +go 1.23 require github.com/stretchr/testify v1.9.0 From f10627c9e86ac39e21bf67ce1cb715acbea11b84 Mon Sep 17 00:00:00 2001 From: Florian Knigge Date: Fri, 25 Oct 2024 14:34:15 +0200 Subject: [PATCH 3/3] Use new repo URL as module URL To allow importing it directly from its new location. As it is a fork of github.com/niondir/go-service, it may be nicer to keep the old path pointing back to its origin... --- builder_test.go | 2 +- func_test.go | 2 +- go.mod | 2 +- service_test.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/builder_test.go b/builder_test.go index 78a2430..82cd3e0 100644 --- a/builder_test.go +++ b/builder_test.go @@ -2,7 +2,7 @@ package service_test import ( "context" - "github.com/niondir/go-service" + "github.com/lobaro/go-service" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" diff --git a/func_test.go b/func_test.go index 2363b23..443ccae 100644 --- a/func_test.go +++ b/func_test.go @@ -2,7 +2,7 @@ package service_test import ( "context" - "github.com/niondir/go-service" + "github.com/lobaro/go-service" "github.com/stretchr/testify/require" "testing" "time" diff --git a/go.mod b/go.mod index a38f234..986efc6 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/niondir/go-service +module github.com/lobaro/go-service go 1.23 diff --git a/service_test.go b/service_test.go index 6899c94..76553b0 100644 --- a/service_test.go +++ b/service_test.go @@ -3,7 +3,7 @@ package service_test import ( "context" "fmt" - "github.com/niondir/go-service" + "github.com/lobaro/go-service" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "log/slog"