Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed the v1 mod path #284

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading