From a2f4e935dc1306dc9f3b9a785a9aca294ca8d502 Mon Sep 17 00:00:00 2001 From: Hidetake Iwata Date: Sat, 3 Aug 2024 11:42:54 +0900 Subject: [PATCH] Remove golang.org/x/net/context (#1112) --- go.mod | 2 +- pkg/infrastructure/mutex/mutex_test.go | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 6023b10c..61243a66 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,6 @@ require ( github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.9.0 - golang.org/x/net v0.27.0 golang.org/x/oauth2 v0.21.0 golang.org/x/sync v0.7.0 golang.org/x/term v0.22.0 @@ -47,6 +46,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/stretchr/objx v0.5.2 // indirect golang.org/x/crypto v0.25.0 // indirect + golang.org/x/net v0.27.0 // indirect golang.org/x/sys v0.22.0 // indirect golang.org/x/text v0.16.0 // indirect golang.org/x/time v0.3.0 // indirect diff --git a/pkg/infrastructure/mutex/mutex_test.go b/pkg/infrastructure/mutex/mutex_test.go index 488fe17e..044c82a7 100644 --- a/pkg/infrastructure/mutex/mutex_test.go +++ b/pkg/infrastructure/mutex/mutex_test.go @@ -1,13 +1,14 @@ package mutex import ( + "context" "fmt" - "github.com/int128/kubelogin/pkg/infrastructure/logger" - "golang.org/x/net/context" "math/rand" "sync" "testing" "time" + + "github.com/int128/kubelogin/pkg/infrastructure/logger" ) func TestMutex(t *testing.T) {