fix: replace gopkg with github. (#1)

This commit is contained in:
Bo-Yi Wu 2017-03-10 20:47:16 -06:00 committed by GitHub
parent cf3607d099
commit 96b488d1c4
5 changed files with 5 additions and 8 deletions

View File

@ -32,8 +32,7 @@ package main
import ( import (
"github.com/gin-contrib/static" "github.com/gin-contrib/static"
"github.com/gin-gonic/gin"
"gopkg.in/gin-gonic/gin.v1"
) )
func main() { func main() {

View File

@ -6,8 +6,7 @@ import (
assetfs "github.com/elazarl/go-bindata-assetfs" assetfs "github.com/elazarl/go-bindata-assetfs"
"github.com/gin-contrib/static" "github.com/gin-contrib/static"
"github.com/gin-gonic/gin"
"gopkg.in/gin-gonic/gin.v1"
) )
type binaryFileSystem struct { type binaryFileSystem struct {

View File

@ -2,8 +2,7 @@ package main
import ( import (
"github.com/gin-contrib/static" "github.com/gin-contrib/static"
"github.com/gin-gonic/gin"
"gopkg.in/gin-gonic/gin.v1"
) )
func main() { func main() {

View File

@ -6,7 +6,7 @@ import (
"path" "path"
"strings" "strings"
"gopkg.in/gin-gonic/gin.v1" "github.com/gin-gonic/gin"
) )
type ServeFileSystem interface { type ServeFileSystem interface {

View File

@ -8,8 +8,8 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"gopkg.in/gin-gonic/gin.v1"
) )
func performRequest(r http.Handler, method, path string) *httptest.ResponseRecorder { func performRequest(r http.Handler, method, path string) *httptest.ResponseRecorder {