From e694ef161e193bbae3096a6d9ef01d5c16ff6fe6 Mon Sep 17 00:00:00 2001 From: johnabass Date: Mon, 19 Aug 2024 10:07:23 -0700 Subject: [PATCH] fixed the v1 mod path --- basculehttp/authenticator.go | 2 +- basculehttp/authorization.go | 2 +- basculehttp/authorization_test.go | 2 +- basculehttp/authorizer.go | 2 +- basculehttp/basic.go | 2 +- basculehttp/basic_test.go | 2 +- basculehttp/error.go | 2 +- basculehttp/error_test.go | 2 +- basculehttp/middleware.go | 2 +- basculehttp/middleware_examples_test.go | 2 +- basculehttp/middleware_test.go | 2 +- basculehttp/testSuite_test.go | 2 +- basculejwt/token.go | 2 +- basculejwt/token_test.go | 2 +- go.mod | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/basculehttp/authenticator.go b/basculehttp/authenticator.go index e91218c..77f09be 100644 --- a/basculehttp/authenticator.go +++ b/basculehttp/authenticator.go @@ -6,7 +6,7 @@ package basculehttp import ( "net/http" - "github.com/xmidt-org/bascule/v1" + "github.com/xmidt-org/bascule" ) // NewAuthenticator is a convenient wrapper around bascule.NewAuthenticator. diff --git a/basculehttp/authorization.go b/basculehttp/authorization.go index 34535f3..f1b276f 100644 --- a/basculehttp/authorization.go +++ b/basculehttp/authorization.go @@ -9,7 +9,7 @@ import ( "net/http" "strings" - "github.com/xmidt-org/bascule/v1" + "github.com/xmidt-org/bascule" ) const ( diff --git a/basculehttp/authorization_test.go b/basculehttp/authorization_test.go index ae7f4e1..7387c06 100644 --- a/basculehttp/authorization_test.go +++ b/basculehttp/authorization_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/stretchr/testify/suite" - "github.com/xmidt-org/bascule/v1" + "github.com/xmidt-org/bascule" ) // withAuthorizationParserOptionErr is an option that returns an error. diff --git a/basculehttp/authorizer.go b/basculehttp/authorizer.go index 89e0e2e..cdcc7a7 100644 --- a/basculehttp/authorizer.go +++ b/basculehttp/authorizer.go @@ -6,7 +6,7 @@ package basculehttp import ( "net/http" - "github.com/xmidt-org/bascule/v1" + "github.com/xmidt-org/bascule" ) // NewAuthorizer is a convenient wrapper around bascule.NewAuthorizer. diff --git a/basculehttp/basic.go b/basculehttp/basic.go index 08289f2..f1704f8 100644 --- a/basculehttp/basic.go +++ b/basculehttp/basic.go @@ -9,7 +9,7 @@ import ( "encoding/base64" "strings" - "github.com/xmidt-org/bascule/v1" + "github.com/xmidt-org/bascule" ) // BasicToken is the interface that Basic Auth tokens implement. diff --git a/basculehttp/basic_test.go b/basculehttp/basic_test.go index 89824c2..82793cb 100644 --- a/basculehttp/basic_test.go +++ b/basculehttp/basic_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/stretchr/testify/suite" - "github.com/xmidt-org/bascule/v1" + "github.com/xmidt-org/bascule" ) type BasicTestSuite struct { diff --git a/basculehttp/error.go b/basculehttp/error.go index d48a735..62f663f 100644 --- a/basculehttp/error.go +++ b/basculehttp/error.go @@ -7,7 +7,7 @@ import ( "errors" "net/http" - "github.com/xmidt-org/bascule/v1" + "github.com/xmidt-org/bascule" ) // ErrorStatusCoder is a strategy for determining the HTTP response code for an error. diff --git a/basculehttp/error_test.go b/basculehttp/error_test.go index c486643..974b1e2 100644 --- a/basculehttp/error_test.go +++ b/basculehttp/error_test.go @@ -10,7 +10,7 @@ import ( "testing" "github.com/stretchr/testify/suite" - "github.com/xmidt-org/bascule/v1" + "github.com/xmidt-org/bascule" ) type ErrorTestSuite struct { diff --git a/basculehttp/middleware.go b/basculehttp/middleware.go index df4ed74..6163b7b 100644 --- a/basculehttp/middleware.go +++ b/basculehttp/middleware.go @@ -8,7 +8,7 @@ import ( "net/http" "strconv" - "github.com/xmidt-org/bascule/v1" + "github.com/xmidt-org/bascule" "go.uber.org/multierr" ) diff --git a/basculehttp/middleware_examples_test.go b/basculehttp/middleware_examples_test.go index 689e861..18d2f83 100644 --- a/basculehttp/middleware_examples_test.go +++ b/basculehttp/middleware_examples_test.go @@ -8,7 +8,7 @@ import ( "net/http" "net/http/httptest" - "github.com/xmidt-org/bascule/v1" + "github.com/xmidt-org/bascule" ) // ExampleMiddleware_basicauth illustrates how to use a basculehttp Middleware with diff --git a/basculehttp/middleware_test.go b/basculehttp/middleware_test.go index d995a54..f7ec5dd 100644 --- a/basculehttp/middleware_test.go +++ b/basculehttp/middleware_test.go @@ -12,7 +12,7 @@ import ( "testing" "github.com/stretchr/testify/suite" - "github.com/xmidt-org/bascule/v1" + "github.com/xmidt-org/bascule" ) type MiddlewareTestSuite struct { diff --git a/basculehttp/testSuite_test.go b/basculehttp/testSuite_test.go index 0213d44..de1f17f 100644 --- a/basculehttp/testSuite_test.go +++ b/basculehttp/testSuite_test.go @@ -8,7 +8,7 @@ import ( "net/http/httptest" "github.com/stretchr/testify/suite" - "github.com/xmidt-org/bascule/v1" + "github.com/xmidt-org/bascule" ) const ( diff --git a/basculejwt/token.go b/basculejwt/token.go index 82b6fae..087a8d1 100644 --- a/basculejwt/token.go +++ b/basculejwt/token.go @@ -8,7 +8,7 @@ import ( "time" "github.com/lestrrat-go/jwx/v2/jwt" - "github.com/xmidt-org/bascule/v1" + "github.com/xmidt-org/bascule" ) // CapabilitiesKey is the JWT claims key where capabilities are expected. diff --git a/basculejwt/token_test.go b/basculejwt/token_test.go index f4dac8e..a3d569a 100644 --- a/basculejwt/token_test.go +++ b/basculejwt/token_test.go @@ -12,7 +12,7 @@ import ( "github.com/lestrrat-go/jwx/v2/jwk" "github.com/lestrrat-go/jwx/v2/jwt" "github.com/stretchr/testify/suite" - "github.com/xmidt-org/bascule/v1" + "github.com/xmidt-org/bascule" ) type TokenTestSuite struct { diff --git a/go.mod b/go.mod index 25b14e9..9c4c43b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/xmidt-org/bascule/v1 +module github.com/xmidt-org/bascule go 1.21