forked from mirror/gin
Update validator to v10 (#2190)
Passed my manual test, output nothing different.
This commit is contained in:
parent
cc14a770cd
commit
9b3477ef9d
|
@ -708,7 +708,7 @@ import (
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/gin-gonic/gin/binding"
|
"github.com/gin-gonic/gin/binding"
|
||||||
"gopkg.in/go-playground/validator.v9"
|
"gopkg.in/go-playground/validator.v10"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Booking contains binded and validated data.
|
// Booking contains binded and validated data.
|
||||||
|
|
Loading…
Reference in New Issue