diff --git a/README.md b/README.md index a0c88241..6b678a4c 100644 --- a/README.md +++ b/README.md @@ -763,7 +763,7 @@ import ( // Booking contains binded and validated data. type Booking struct { - CheckIn time.Time `form:"check_in" binding:"required,bookabledate" time_format:"2006-01-02"` + CheckIn time.Time `form:"check_in" binding:"required" time_format:"2006-01-02"` CheckOut time.Time `form:"check_out" binding:"required,gtfield=CheckIn" time_format:"2006-01-02"` }