Browse Source

Use gopkg.in

tleb 9 years ago
parent
commit
c1c937f5b5
3 changed files with 3 additions and 3 deletions
  1. 1 1
      example/example.go
  2. 1 1
      gzip.go
  3. 1 1
      gzip_test.go

+ 1 - 1
example/example.go

@@ -3,7 +3,7 @@ package main
 import (
 	"fmt"
 	"github.com/gin-gonic/contrib/gzip"
-	"github.com/gin-gonic/gin"
+	"gopkg.in/gin-gonic/gin.v1"
 	"time"
 )
 

+ 1 - 1
gzip.go

@@ -6,7 +6,7 @@ import (
 	"path/filepath"
 	"strings"
 
-	"github.com/gin-gonic/gin"
+	"gopkg.in/gin-gonic/gin.v1"
 )
 
 const (

+ 1 - 1
gzip_test.go

@@ -8,8 +8,8 @@ import (
 	"strconv"
 	"testing"
 
-	"github.com/gin-gonic/gin"
 	"github.com/stretchr/testify/assert"
+	"gopkg.in/gin-gonic/gin.v1"
 )
 
 const (