gin/binding
Suhas Karanth 6d913fc343 fix(binding): Expose validator engine used by the default Validator (#1277)
* 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
2018-03-29 14:33:07 +08:00
..
example add protobuf binding for gin 2015-07-12 17:42:39 +08:00
binding.go fix(binding): Expose validator engine used by the default Validator (#1277) 2018-03-29 14:33:07 +08:00
binding_test.go Add some test cases and run test cases on binding/render dir (#1168) 2018-01-26 11:46:11 +08:00
default_validator.go fix(binding): Expose validator engine used by the default Validator (#1277) 2018-03-29 14:33:07 +08:00
form.go 32 << 10 != 32 Mb (#1094) 2017-09-04 09:15:50 +08:00
form_mapping.go Linting and optimizing struct memory signature. (#1184) 2017-11-29 10:50:14 +08:00
json.go fix(binding): Expose validator engine used by the default Validator (#1277) 2018-03-29 14:33:07 +08:00
msgpack.go style(msgpack): remove redundant comments (#1027) 2017-07-17 05:57:59 -05:00
protobuf.go lint code for import (#939) 2017-06-11 21:40:15 -05:00
query.go style(import): not use aliase when import package (#1146) 2017-10-29 13:12:22 +01:00
validate_test.go fix(binding): Expose validator engine used by the default Validator (#1277) 2018-03-29 14:33:07 +08:00
xml.go Removes unused underscore 2015-07-10 13:06:01 +02:00