From 7b682a186a35c168f4ec3075e129650f40085d87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A3=AE=20=E5=84=AA=E5=A4=AA=20mori?= <59682979+uta-mori@users.noreply.github.com> Date: Thu, 30 Jul 2020 13:16:42 +0900 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"` }