Update validator to v10

Passed my manual test, output nothing different.
This commit is contained in:
Lin Kao-Yuan 2019-12-19 15:44:27 +08:00 committed by GitHub
parent cc14a770cd
commit 1695f6a7ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -708,7 +708,7 @@ import (
"github.com/gin-gonic/gin"
"github.com/gin-gonic/gin/binding"
"gopkg.in/go-playground/validator.v9"
"gopkg.in/go-playground/validator.v10"
)
// Booking contains binded and validated data.