Skip to content

Commit

Permalink
Convert labstack/echo.v1 imports to matcherino/echo imports
Browse files Browse the repository at this point in the history
  • Loading branch information
huntrar committed Mar 5, 2021
1 parent 427ba6c commit 9577071
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions echo.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Example:
import (
"net/http"
echo "gopkg.in/labstack/echo.v1"
mw "gopkg.in/labstack/echo.v1/middleware"
echo "github.com/matcherino/echo"
mw "github.com/matcherino/echo/middleware"
)
func hello(c *echo.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion middleware/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/base64"
"net/http"

echo "gopkg.in/labstack/echo.v1"
echo "github.com/matcherino/echo"
)

type (
Expand Down
2 changes: 1 addition & 1 deletion middleware/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
echo "gopkg.in/labstack/echo.v1"
echo "github.com/matcherino/echo"
)

func TestBasicAuth(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion middleware/compress.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"
"sync"

echo "gopkg.in/labstack/echo.v1"
echo "github.com/matcherino/echo"
)

type (
Expand Down
2 changes: 1 addition & 1 deletion middleware/compress_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"

"github.com/stretchr/testify/assert"
echo "gopkg.in/labstack/echo.v1"
echo "github.com/matcherino/echo"
)

type closeNotifyingRecorder struct {
Expand Down
2 changes: 1 addition & 1 deletion middleware/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"time"

"github.com/labstack/gommon/color"
echo "gopkg.in/labstack/echo.v1"
echo "github.com/matcherino/echo"
)

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

"github.com/stretchr/testify/assert"
echo "gopkg.in/labstack/echo.v1"
echo "github.com/matcherino/echo"
)

func TestLogger(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion middleware/recover.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"runtime"

echo "gopkg.in/labstack/echo.v1"
echo "github.com/matcherino/echo"
)

// Recover returns a middleware which recovers from panics anywhere in the chain
Expand Down
2 changes: 1 addition & 1 deletion middleware/recover_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
echo "gopkg.in/labstack/echo.v1"
echo "github.com/matcherino/echo"
)

func TestRecover(t *testing.T) {
Expand Down

0 comments on commit 9577071

Please sign in to comment.