Updates Validator + unit tests

This commit is contained in:
Manu Mtz.-Almeida
2016-01-26 19:28:26 +01:00
parent 60f66918f8
commit ffb5c0412a
3 changed files with 177 additions and 56 deletions

35
Godeps/Godeps.json generated
View File

@ -1,39 +1,36 @@
{
"ImportPath": "github.com/gin-gonic/gin",
"GoVersion": "go1.4.2",
"Packages": [
"./..."
],
"GoVersion": "go1.5.1",
"Deps": [
{
"ImportPath": "github.com/dustin/go-broadcast",
"Rev": "3bdf6d4a7164a50bc19d5f230e2981d87d2584f1"
"ImportPath": "github.com/davecgh/go-spew/spew",
"Rev": "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d"
},
{
"ImportPath": "github.com/golang/protobuf/proto",
"Rev": "2402d76f3d41f928c7902a765dfc872356dd3aad"
},
{
"ImportPath": "github.com/manucorporat/sse",
"Rev": "c142f0f1baea5cef7f98a8a6c222f6134368c1f5"
"Rev": "ee05b128a739a0fb76c7ebd3ae4810c1de808d6d"
},
{
"ImportPath": "github.com/manucorporat/stats",
"Rev": "8f2d6ace262eba462e9beb552382c98be51d807b"
},
{
"ImportPath": "github.com/mattn/go-colorable",
"Rev": "d67e0b7d1797975196499f79bcc322c08b9f218b"
"ImportPath": "github.com/pmezard/go-difflib/difflib",
"Rev": "792786c7400a136282c1664665ae0a8db921c6c2"
},
{
"ImportPath": "github.com/stretchr/testify/assert",
"Comment": "v1.0",
"Rev": "232e8563676cd15c3a36ba5e675ad4312ac4cb11"
"Comment": "v1.1.3",
"Rev": "f390dcf405f7b83c997eac1b06768bb9f44dec18"
},
{
"ImportPath": "golang.org/x/net/context",
"Rev": "621fff363a1d9ad7fdd0bfa9d80a42881267deb4"
"Rev": "f315505cf3349909cdf013ea56690da34e96a451"
},
{
"ImportPath": "gopkg.in/bluesuncorp/validator.v5",
"Comment": "v5.4",
"Rev": "07cbdd2e6dfd947b002e83c13b775c7580fab2d5"
"ImportPath": "gopkg.in/go-playground/validator.v8",
"Comment": "v8.15.1",
"Rev": "c193cecd124b5cc722d7ee5538e945bdb3348435"
}
]
}