-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix "Custom Validators" example #2186
Fix "Custom Validators" example #2186
Conversation
mosdeo
commented
Dec 16, 2019
•
edited
Loading
edited
- Update fixed code.
- Fix incorrect date for testing & demo.
According to [this](gin-gonic/examples@874dcfa) merged commit.
Original testing date incompatible demo require, can't get expect result. check_in date need NOT AFTER check_out date.
Codecov Report
@@ Coverage Diff @@
## master #2186 +/- ##
=======================================
Coverage 98.49% 98.49%
=======================================
Files 40 40
Lines 2257 2257
=======================================
Hits 2223 2223
Misses 18 18
Partials 16 16 Continue to review full report at Codecov.
|
Excuse me, I forgot change output in #2186
Update fixed 500 err and incorrect testing date & output in demo. - gin-gonic/gin#2186 - gin-gonic/examples#25
@mosdeo sorry, now the master branch have upgraded to v10 not v9, please re-commit the pull request to fix it, thanks! |
I tried it few minutes ago, change to v10 have nothing different, I will modify it from repository "gin-gonic/examples". |
* Update fixed error code from merged commit According to [this](gin-gonic/examples@874dcfa) merged commit. * Fixed incorrect testing date. Original testing date incompatible demo require, can't get expect result. check_in date need NOT AFTER check_out date.
Excuse me, I forgot change output in gin-gonic#2186