gin/examples
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
..
app-engine fix 200 to http.Status (#1067) 2017-08-16 09:50:43 +08:00
auto-tls add package for govendor (#1166) 2017-11-11 23:11:22 -06:00
basic Added simple testing documentation and examples (#1156) 2017-11-11 23:37:32 -06:00
custom-validation fix(binding): Expose validator engine used by the default Validator (#1277) 2018-03-29 14:33:07 +08:00
favicon add favicon example (#1001) 2017-07-10 09:21:42 -05:00
graceful-shutdown doc(graceful-shutdown): failure to ListenAndServe should be a reason to exit (#1287) 2018-03-20 14:05:24 +08:00
http2 add warning using http2 example (#1009) 2017-07-12 02:01:46 -05:00
multiple-service feat: add multiple service example. (#1119) 2017-09-29 16:48:10 +08:00
realtime-advanced Linting and optimizing struct memory signature. (#1184) 2017-11-29 10:50:14 +08:00
realtime-chat add Makefile for example (#951) 2017-06-15 20:07:42 -05:00
struct-lvl-validations fix(binding): Expose validator engine used by the default Validator (#1277) 2018-03-29 14:33:07 +08:00
template update template example (#1038) 2017-07-20 21:29:23 -05:00
upload-file Moved const 'defaultMemory' to attrib. Engine.MaxMultipartMemory instead. (#1100) 2017-09-07 11:45:16 +08:00