From 5c6ecdec43d29a06569400fb74eb7a090adcf177 Mon Sep 17 00:00:00 2001 From: Tobias Theel Date: Wed, 27 Jan 2021 09:50:20 +0100 Subject: [PATCH] fix missed v7 references --- README.md | 4 ++-- client.go | 2 +- client_benchmark_test.go | 2 +- client_test.go | 2 +- go.mod | 2 -- go.sum | 4 ---- model_test.go | 2 +- utils_test.go | 2 +- 8 files changed, 7 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index b444a945..132a7fa4 100644 --- a/README.md +++ b/README.md @@ -53,13 +53,13 @@ There are a lot of backward incompatible changes: ### Installation ```shell -go get github.com/Nerzal/gocloak/v7 +go get github.com/Nerzal/gocloak/v8 ``` ### Importing ```go - import "github.com/Nerzal/gocloak/v7" + import "github.com/Nerzal/gocloak/v8" ``` ### Create New User diff --git a/client.go b/client.go index 3f7fffed..d75c419a 100644 --- a/client.go +++ b/client.go @@ -15,7 +15,7 @@ import ( "github.com/pkg/errors" "github.com/segmentio/ksuid" - "github.com/Nerzal/gocloak/v7/pkg/jwx" + "github.com/Nerzal/gocloak/v8/pkg/jwx" ) type gocloak struct { diff --git a/client_benchmark_test.go b/client_benchmark_test.go index 78bf8adf..ac12a573 100644 --- a/client_benchmark_test.go +++ b/client_benchmark_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/Nerzal/gocloak/v7" + "github.com/Nerzal/gocloak/v8" "github.com/stretchr/testify/assert" ) diff --git a/client_test.go b/client_test.go index 41d8dafd..111122b8 100644 --- a/client_test.go +++ b/client_test.go @@ -25,7 +25,7 @@ import ( "github.com/stretchr/testify/require" "golang.org/x/crypto/pkcs12" - "github.com/Nerzal/gocloak/v7" + "github.com/Nerzal/gocloak/v8" ) type configAdmin struct { diff --git a/go.mod b/go.mod index d0048769..8c4993df 100644 --- a/go.mod +++ b/go.mod @@ -3,10 +3,8 @@ module github.com/Nerzal/gocloak/v8 go 1.15 require ( - dmitri.shuralyov.com/go/generated v0.0.0-20170818220700-b1254a446363 // indirect github.com/dgrijalva/jwt-go/v4 v4.0.0-preview1 github.com/go-resty/resty/v2 v2.3.0 - github.com/gordonklaus/ineffassign v0.0.0-20201107091007-3b93a8888063 // indirect github.com/pkg/errors v0.9.1 github.com/segmentio/ksuid v1.0.3 github.com/stretchr/testify v1.6.1 diff --git a/go.sum b/go.sum index 73a8380c..67f22531 100644 --- a/go.sum +++ b/go.sum @@ -1,13 +1,9 @@ -dmitri.shuralyov.com/go/generated v0.0.0-20170818220700-b1254a446363 h1:o4lAkfETerCnr1kF9/qwkwjICnU+YLHNDCM8h2xj7as= -dmitri.shuralyov.com/go/generated v0.0.0-20170818220700-b1254a446363/go.mod h1:WG7q7swWsS2f9PYpt5DoEP/EBYWx8We5UoRltn9vJl8= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dgrijalva/jwt-go/v4 v4.0.0-preview1 h1:CaO/zOnF8VvUfEbhRatPcwKVWamvbYd8tQGRWacE9kU= github.com/dgrijalva/jwt-go/v4 v4.0.0-preview1/go.mod h1:+hnT3ywWDTAFrW5aE+u2Sa/wT555ZqwoCS+pk3p6ry4= github.com/go-resty/resty/v2 v2.3.0 h1:JOOeAvjSlapTT92p8xiS19Zxev1neGikoHsXJeOq8So= github.com/go-resty/resty/v2 v2.3.0/go.mod h1:UpN9CgLZNsv4e9XG50UU8xdI0F43UQ4HmxLBDwaroHU= -github.com/gordonklaus/ineffassign v0.0.0-20201107091007-3b93a8888063 h1:dKprcOvlsvqfWn/iGvz+oYuC2axESeSMuF8dDrWMNsE= -github.com/gordonklaus/ineffassign v0.0.0-20201107091007-3b93a8888063/go.mod h1:cuNKsD1zp2v6XfE/orVX2QE1LC+i254ceGcVeDT3pTU= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= diff --git a/model_test.go b/model_test.go index b4cd0009..a6604714 100644 --- a/model_test.go +++ b/model_test.go @@ -5,7 +5,7 @@ import ( "errors" "testing" - "github.com/Nerzal/gocloak/v7" + "github.com/Nerzal/gocloak/v8" "github.com/stretchr/testify/assert" ) diff --git a/utils_test.go b/utils_test.go index 68ba350f..fe5d5913 100644 --- a/utils_test.go +++ b/utils_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/Nerzal/gocloak/v7" + "github.com/Nerzal/gocloak/v8" ) func TestStringP(t *testing.T) {