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 (
"github.com/gin-contrib/static"
"gopkg.in/gin-gonic/gin.v1"
"github.com/gin-gonic/gin"
)
func main() {

View File

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

View File

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

View File

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

View File

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