mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-23 18:22:23 +08:00
update readme for adding binding about skip validate
This commit is contained in:
parent
7f3d687387
commit
0885207358
@ -572,6 +572,7 @@ $ curl -v -X POST \
|
|||||||
```
|
```
|
||||||
|
|
||||||
**Skip validate**
|
**Skip validate**
|
||||||
|
|
||||||
When running the above example using the above the `curl` command, it returns error. Because the example use `binding:"required"` for `Password`. If use `binding:"-"` for `Password`, then it will not return error when running the above example again.
|
When running the above example using the above the `curl` command, it returns error. Because the example use `binding:"required"` for `Password`. If use `binding:"-"` for `Password`, then it will not return error when running the above example again.
|
||||||
|
|
||||||
### Custom Validators
|
### Custom Validators
|
||||||
|
Loading…
x
Reference in New Issue
Block a user