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:
Streppel 2020-01-15 16:03:31 -03:00 committed by GitHub
parent 424e9685be
commit e719e97d5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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