Update validator to v10 (#2190)

Passed my manual test, output nothing different.
This commit is contained in:
Lin Kao-Yuan 2019-12-20 14:01:58 +08:00 committed by thinkerou
parent cc14a770cd
commit 9b3477ef9d

View File

@ -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.