From c0c3fdca4d0b0c5cecac477552066b50cfbd14c8 Mon Sep 17 00:00:00 2001 From: Tobias Theel Date: Tue, 1 Mar 2022 10:34:58 +0100 Subject: [PATCH] upgrade to V11 --- README.md | 4 ++-- client.go | 2 +- client_benchmark_test.go | 2 +- client_test.go | 2 +- go.mod | 2 +- model_test.go | 2 +- utils_test.go | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f2cb3d72..e5704e72 100644 --- a/README.md +++ b/README.md @@ -130,13 +130,13 @@ There are a lot of backward incompatible changes: ### Installation ```shell -go get github.com/Nerzal/gocloak/v10 +go get github.com/Nerzal/gocloak/v11 ``` ### Importing ```go - import "github.com/Nerzal/gocloak/v10" + import "github.com/Nerzal/gocloak/v11" ``` ### Create New User diff --git a/client.go b/client.go index 231acaa0..1d1b03d3 100644 --- a/client.go +++ b/client.go @@ -17,7 +17,7 @@ import ( "github.com/pkg/errors" "github.com/segmentio/ksuid" - "github.com/Nerzal/gocloak/v10/pkg/jwx" + "github.com/Nerzal/gocloak/v11/pkg/jwx" ) type gocloak struct { diff --git a/client_benchmark_test.go b/client_benchmark_test.go index c5265097..e097fbd8 100644 --- a/client_benchmark_test.go +++ b/client_benchmark_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/Nerzal/gocloak/v10" + "github.com/Nerzal/gocloak/v11" "github.com/stretchr/testify/assert" ) diff --git a/client_test.go b/client_test.go index 7f694e76..44774853 100644 --- a/client_test.go +++ b/client_test.go @@ -26,7 +26,7 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/crypto/pkcs12" - "github.com/Nerzal/gocloak/v10" + "github.com/Nerzal/gocloak/v11" ) type configAdmin struct { diff --git a/go.mod b/go.mod index 02cbd14c..f6eeb956 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Nerzal/gocloak/v10 +module github.com/Nerzal/gocloak/v11 go 1.15 diff --git a/model_test.go b/model_test.go index 92fd334f..cb9fea0a 100644 --- a/model_test.go +++ b/model_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "github.com/Nerzal/gocloak/v10" + "github.com/Nerzal/gocloak/v11" "github.com/stretchr/testify/assert" ) diff --git a/utils_test.go b/utils_test.go index c1db3faf..92cfa212 100644 --- a/utils_test.go +++ b/utils_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/Nerzal/gocloak/v10" + "github.com/Nerzal/gocloak/v11" ) func TestStringP(t *testing.T) {