Skip to content

Commit

Permalink
Change module path to clevergo.tech/auth
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jun 17, 2020
1 parent e3a311a commit 6452a00
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Authentication
[![Build Status](https://travis-ci.org/clevergo/auth.svg?branch=master)](https://travis-ci.org/clevergo/auth)
[![Coverage Status](https://coveralls.io/repos/github/clevergo/auth/badge.svg?branch=master)](https://coveralls.io/github/clevergo/auth?branch=master)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue)](https://pkg.go.dev/github.com/clevergo/auth)
[![Go Report Card](https://goreportcard.com/badge/github.com/clevergo/auth)](https://goreportcard.com/report/github.com/clevergo/auth)
[![Go.Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go&logoColor=white)](https://pkg.go.dev/clevergo.tech/auth?tab=doc)
[![Go Report Card](https://goreportcard.com/badge/clevergo.tech/auth)](https://goreportcard.com/report/clevergo.tech/auth)
[![Release](https://img.shields.io/github/release/clevergo/auth.svg?style=flat-square)](https://github.com/clevergo/auth/releases)
[![Sourcegraph](https://sourcegraph.com/github.com/clevergo/auth/-/badge.svg)](https://sourcegraph.com/github.com/clevergo/auth?badge)
[![Sourcegraph](https://sourcegraph.com/clevergo.tech/auth/-/badge.svg)](https://sourcegraph.com/github.com/clevergo/auth?badge)

This package provides multiple authenticators and middleware for authenticating a user.

Expand Down
2 changes: 1 addition & 1 deletion authenticators/authenticator.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package authenticators
import (
"context"

"github.com/clevergo/auth"
"clevergo.tech/auth"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion authenticators/authenticator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"context"
"testing"

"github.com/clevergo/auth"
"clevergo.tech/auth"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion authenticators/basicauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"net/http"

"github.com/clevergo/auth"
"clevergo.tech/auth"
)

var _ auth.Authenticator = &BasicAuth{}
Expand Down
2 changes: 1 addition & 1 deletion authenticators/basicauth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/http/httptest"
"testing"

"github.com/clevergo/auth"
"clevergo.tech/auth"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion authenticators/bearertoken.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net/http"
"strings"

"github.com/clevergo/auth"
"clevergo.tech/auth"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion authenticators/bearertoken_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/http/httptest"
"testing"

"github.com/clevergo/auth"
"clevergo.tech/auth"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion authenticators/composite.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net/http"
"strings"

"github.com/clevergo/auth"
"clevergo.tech/auth"
)

// CompositeError contains errors that returned by authenticators.
Expand Down
2 changes: 1 addition & 1 deletion authenticators/composite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"net/http/httptest"
"testing"

"github.com/clevergo/auth"
"clevergo.tech/auth"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion authenticators/cookietoken.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package authenticators
import (
"net/http"

"github.com/clevergo/auth"
"clevergo.tech/auth"
)

var _ auth.Authenticator = &CookieToken{}
Expand Down
2 changes: 1 addition & 1 deletion authenticators/cookietoken_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net/http/httptest"
"testing"

"github.com/clevergo/auth"
"clevergo.tech/auth"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion authenticators/querytoken.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package authenticators
import (
"net/http"

"github.com/clevergo/auth"
"clevergo.tech/auth"
)

var _ auth.Authenticator = &QueryToken{}
Expand Down
2 changes: 1 addition & 1 deletion authenticators/querytoken_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/http/httptest"
"testing"

"github.com/clevergo/auth"
"clevergo.tech/auth"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"io"
"net/http"

"github.com/clevergo/auth"
"github.com/clevergo/auth/authenticators"
"clevergo.tech/auth"
"clevergo.tech/auth/authenticators"
)

var authenticator auth.Authenticator
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/clevergo/auth
module clevergo.tech/auth

go 1.13

Expand Down

0 comments on commit 6452a00

Please sign in to comment.