Skip to content

Commit

Permalink
Merge pull request #284 from xmidt-org/hotfix/fix-v1
Browse files Browse the repository at this point in the history
fixed the v1 mod path
  • Loading branch information
johnabass authored Aug 19, 2024
2 parents d9c4668 + e694ef1 commit a057559
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion basculehttp/authenticator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion basculehttp/authorization.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net/http"
"strings"

"github.com/xmidt-org/bascule/v1"
"github.com/xmidt-org/bascule"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion basculehttp/authorization_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion basculehttp/authorizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion basculehttp/basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion basculehttp/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion basculehttp/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion basculehttp/error_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion basculehttp/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net/http"
"strconv"

"github.com/xmidt-org/bascule/v1"
"github.com/xmidt-org/bascule"
"go.uber.org/multierr"
)

Expand Down
2 changes: 1 addition & 1 deletion basculehttp/middleware_examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion basculehttp/middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion basculehttp/testSuite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion basculejwt/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion basculejwt/token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/xmidt-org/bascule/v1
module github.com/xmidt-org/bascule

go 1.21

Expand Down

0 comments on commit a057559

Please sign in to comment.