mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-23 18:22:23 +08:00
docs: rm date cmd from custom validation demo
This commit is contained in:
parent
b308c8b0a9
commit
9de71a5c15
@ -584,9 +584,6 @@ func getBookable(c *gin.Context) {
|
|||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ date +'%m/%d/%Y'
|
|
||||||
03/09/2018
|
|
||||||
|
|
||||||
$ curl "localhost:8085/bookable?check_in=2018-04-16&check_out=2018-04-17"
|
$ curl "localhost:8085/bookable?check_in=2018-04-16&check_out=2018-04-17"
|
||||||
{"message":"Booking dates are valid!"}
|
{"message":"Booking dates are valid!"}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user