Merge pull request #6 from gin-contrib/import

Change go import to gopkg.in v1
This commit is contained in:
Javier Provecho Fernandez 2016-10-31 09:12:14 +01:00 committed by GitHub
commit 9726988c57
5 changed files with 5 additions and 5 deletions

View File

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

View File

@ -3,7 +3,7 @@ package cors
import (
"net/http"
"github.com/gin-gonic/gin"
"gopkg.in/gin-gonic/gin.v1"
)
type cors struct {

View File

@ -5,7 +5,7 @@ import (
"strings"
"time"
"github.com/gin-gonic/gin"
"gopkg.in/gin-gonic/gin.v1"
)
// Config represents all available options for the middleware.

View File

@ -6,8 +6,8 @@ import (
"testing"
"time"
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert"
"gopkg.in/gin-gonic/gin.v1"
)
func init() {

View File

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