add internal package which includes json package (#1504)
chore: update vendor version (#1520)
chore: update issue_implate (#1524)
docs: add fnproject to gin's user list (#1505)
example for RunLimited
example for RunLimited
add new capability to limit accepted connections
Add golang 1.11.x testing (#1514)
* Add golang 1.11.x testing
* remove the latest golang testing
See the issue: https://github.com/gin-gonic/gin/pull/1510
Update README.md (#1509)
change `ShouldBindXML` to `ShouldBindJSON`
add internal package which includes json package (#1504)
chore: update vendor version (#1520)
chore: update issue_implate (#1524)
docs: add fnproject to gin's user list (#1505)
added new capability to limit the accepted requests
example for RunLimited
example for RunLimited
* Add interface to read body bytes in binding
* Add BindingBody implementation for some binding
* Fix to use `BindBodyBytesKey` for key
* Revert "Fix to use `BindBodyBytesKey` for key"
This reverts commit 2c82901ceab6ae53730a3cfcd9839bee11a08f13.
* Use private-like key for body bytes
* Add tests for BindingBody & ShouldBindBodyWith
* Add note for README
* Remove redundant space between sentences
* fix(binding): Expose validator engine used by the default Validator
- Add func ValidatorEngine for returning the underlying validator engine used
in the default StructValidator implementation.
- Remove the function RegisterValidation from the StructValidator interface
which made it immpossible to use a StructValidator implementation without the
validator.v8 library.
- Update and rename test for registering validation
Test{RegisterValidation => ValidatorEngine}.
- Update readme and example for registering custom validation.
- Add example for registering struct level validation.
- Add documentation for the following binding funcs/types:
- Binding interface
- StructValidator interface
- Validator instance
- Binding implementations
- Default func
* fix(binding): Move validator engine getter inside interface
* docs: rm date cmd from custom validation demo