Browse Source

revert to github.com

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Bo-Yi Wu 8 years ago
parent
commit
6743ec8467
4 changed files with 4 additions and 4 deletions
  1. 1 1
      README.md
  2. 1 1
      example/example.go
  3. 1 1
      gzip.go
  4. 1 1
      gzip_test.go

+ 1 - 1
README.md

@@ -34,7 +34,7 @@ import (
 	"time"
 	"time"
 
 
 	"github.com/gin-contrib/gzip"
 	"github.com/gin-contrib/gzip"
-	"gopkg.in/gin-gonic/gin.v1"
+	"github.com/gin-gonic/gin"
 )
 )
 
 
 func main() {
 func main() {

+ 1 - 1
example/example.go

@@ -5,7 +5,7 @@ import (
 	"time"
 	"time"
 
 
 	"github.com/gin-contrib/gzip"
 	"github.com/gin-contrib/gzip"
-	"gopkg.in/gin-gonic/gin.v1"
+	"github.com/gin-gonic/gin"
 )
 )
 
 
 func main() {
 func main() {

+ 1 - 1
gzip.go

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

+ 1 - 1
gzip_test.go

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