Browse Source

Merge pull request #1 from tleb/gopkg

Use gopkg.in
Bo-Yi Wu 9 years ago
parent
commit
5b620af359
3 changed files with 4 additions and 4 deletions
  1. 2 2
      example/example.go
  2. 1 1
      gzip.go
  3. 1 1
      gzip_test.go

+ 2 - 2
example/example.go

@@ -2,8 +2,8 @@ package main
 
 import (
 	"fmt"
-	"github.com/gin-gonic/contrib/gzip"
-	"github.com/gin-gonic/gin"
+	"github.com/gin-contrib/gzip"
+	"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 (