mirror of
https://github.com/labstack/echo.git
synced 2025-07-15 01:34:53 +02:00
Reference echo.v1 for every imports
This commit is contained in:
@ -4,7 +4,7 @@ import (
|
||||
"encoding/base64"
|
||||
"net/http"
|
||||
|
||||
"github.com/labstack/echo"
|
||||
echo "gopkg.in/labstack/echo.v1"
|
||||
)
|
||||
|
||||
type (
|
||||
|
@ -6,8 +6,8 @@ import (
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
|
||||
"github.com/labstack/echo"
|
||||
"github.com/stretchr/testify/assert"
|
||||
echo "gopkg.in/labstack/echo.v1"
|
||||
)
|
||||
|
||||
func TestBasicAuth(t *testing.T) {
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/labstack/echo"
|
||||
echo "gopkg.in/labstack/echo.v1"
|
||||
)
|
||||
|
||||
type (
|
||||
|
@ -8,8 +8,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/labstack/echo"
|
||||
"github.com/stretchr/testify/assert"
|
||||
echo "gopkg.in/labstack/echo.v1"
|
||||
)
|
||||
|
||||
type closeNotifyingRecorder struct {
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"net"
|
||||
"time"
|
||||
|
||||
"github.com/labstack/echo"
|
||||
"github.com/labstack/gommon/color"
|
||||
echo "gopkg.in/labstack/echo.v1"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -7,8 +7,8 @@ import (
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
|
||||
"github.com/labstack/echo"
|
||||
"github.com/stretchr/testify/assert"
|
||||
echo "gopkg.in/labstack/echo.v1"
|
||||
)
|
||||
|
||||
func TestLogger(t *testing.T) {
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
|
||||
"runtime"
|
||||
|
||||
"github.com/labstack/echo"
|
||||
echo "gopkg.in/labstack/echo.v1"
|
||||
)
|
||||
|
||||
// Recover returns a middleware which recovers from panics anywhere in the chain
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
|
||||
"github.com/labstack/echo"
|
||||
"github.com/stretchr/testify/assert"
|
||||
echo "gopkg.in/labstack/echo.v1"
|
||||
)
|
||||
|
||||
func TestRecover(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user