Skip to content

Commit e694ef1

Browse files
committed
fixed the v1 mod path
1 parent d9c4668 commit e694ef1

15 files changed

Lines changed: 15 additions & 15 deletions

basculehttp/authenticator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package basculehttp
66
import (
77
"net/http"
88

9-
"github.com/xmidt-org/bascule/v1"
9+
"github.com/xmidt-org/bascule"
1010
)
1111

1212
// NewAuthenticator is a convenient wrapper around bascule.NewAuthenticator.

basculehttp/authorization.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"net/http"
1010
"strings"
1111

12-
"github.com/xmidt-org/bascule/v1"
12+
"github.com/xmidt-org/bascule"
1313
)
1414

1515
const (

basculehttp/authorization_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"testing"
1010

1111
"github.com/stretchr/testify/suite"
12-
"github.com/xmidt-org/bascule/v1"
12+
"github.com/xmidt-org/bascule"
1313
)
1414

1515
// withAuthorizationParserOptionErr is an option that returns an error.

basculehttp/authorizer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package basculehttp
66
import (
77
"net/http"
88

9-
"github.com/xmidt-org/bascule/v1"
9+
"github.com/xmidt-org/bascule"
1010
)
1111

1212
// NewAuthorizer is a convenient wrapper around bascule.NewAuthorizer.

basculehttp/basic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"encoding/base64"
1010
"strings"
1111

12-
"github.com/xmidt-org/bascule/v1"
12+
"github.com/xmidt-org/bascule"
1313
)
1414

1515
// BasicToken is the interface that Basic Auth tokens implement.

basculehttp/basic_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"testing"
1010

1111
"github.com/stretchr/testify/suite"
12-
"github.com/xmidt-org/bascule/v1"
12+
"github.com/xmidt-org/bascule"
1313
)
1414

1515
type BasicTestSuite struct {

basculehttp/error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"errors"
88
"net/http"
99

10-
"github.com/xmidt-org/bascule/v1"
10+
"github.com/xmidt-org/bascule"
1111
)
1212

1313
// ErrorStatusCoder is a strategy for determining the HTTP response code for an error.

basculehttp/error_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"testing"
1111

1212
"github.com/stretchr/testify/suite"
13-
"github.com/xmidt-org/bascule/v1"
13+
"github.com/xmidt-org/bascule"
1414
)
1515

1616
type ErrorTestSuite struct {

basculehttp/middleware.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http"
99
"strconv"
1010

11-
"github.com/xmidt-org/bascule/v1"
11+
"github.com/xmidt-org/bascule"
1212
"go.uber.org/multierr"
1313
)
1414

basculehttp/middleware_examples_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http"
99
"net/http/httptest"
1010

11-
"github.com/xmidt-org/bascule/v1"
11+
"github.com/xmidt-org/bascule"
1212
)
1313

1414
// ExampleMiddleware_basicauth illustrates how to use a basculehttp Middleware with

0 commit comments

Comments
 (0)