mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-20 00:02:16 +08:00
Update readme on custom validation fields
V10 now uses a different package path. More at https://github.com/go-playground/validator/releases/tag/v10.0.0
This commit is contained in:
parent
424e9685be
commit
e719e97d5f
@ -707,7 +707,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.v10"
|
"github.com/go-playground/validator/v10"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Booking contains binded and validated data.
|
// Booking contains binded and validated data.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user