Fix includes of gin-gonic

This commit is contained in:
Sonja Happ 2019-04-30 11:12:24 +02:00
parent d34566e3ba
commit eb19f3e133
5 changed files with 4 additions and 7 deletions

View file

@ -1,7 +1,7 @@
package common
import (
"gopkg.in/gin-gonic/gin.v1"
"github.com/gin-gonic/gin"
)
type UsersSerializer struct {

View file

@ -1,7 +1,7 @@
package common
import (
"gopkg.in/gin-gonic/gin.v1"
"github.com/gin-gonic/gin"
"net/http"
)

3
go.mod
View file

@ -4,7 +4,7 @@ require (
github.com/denisenkom/go-mssqldb v0.0.0-20190401154936-ce35bd87d4b3 // indirect
github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5 // indirect
github.com/gin-contrib/sse v0.0.0-20190301062529-5545eab6dad3 // indirect
github.com/gin-gonic/gin v1.3.0 // indirect
github.com/gin-gonic/gin v1.3.0
github.com/go-sql-driver/mysql v1.4.1 // indirect
github.com/gofrs/uuid v3.2.0+incompatible // indirect
github.com/jinzhu/gorm v1.9.2
@ -19,7 +19,6 @@ require (
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/stretchr/testify v1.2.2
github.com/ugorji/go v1.1.4 // indirect
gopkg.in/gin-gonic/gin.v1 v1.3.0
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
gopkg.in/go-playground/validator.v8 v8.18.2 // indirect
)

2
go.sum
View file

@ -205,8 +205,6 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
gopkg.in/gin-gonic/gin.v1 v1.3.0 h1:DjAu49rN1YttQsOkVCPlAO3INcZNFT0IKsNVMk5MRT4=
gopkg.in/gin-gonic/gin.v1 v1.3.0/go.mod h1:Eljh74A/zAvUOQ835v6ySeZ+5gQG6tKjbZTaZ9iWU3A=
gopkg.in/go-playground/assert.v1 v1.2.1 h1:xoYuJVE7KT85PYWrN730RguIQO0ePzVRfFMXadIrXTM=
gopkg.in/go-playground/assert.v1 v1.2.1/go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE=
gopkg.in/go-playground/validator.v8 v8.18.2 h1:lFB4DoMU6B626w8ny76MV7VX6W2VHct2GVOI3xgiMrQ=

View file

@ -2,7 +2,7 @@ package main
import (
"git.rwth-aachen.de/acs/public/villas/villasweb-backend-go/common"
"gopkg.in/gin-gonic/gin.v1"
"github.com/gin-gonic/gin"
)
func main() {