gin-gonic/gin — pull request #67 by michaeljs1990 (2014-07-16 04:15:37+00:00)
Title: Support for min, max, regex, digit, digit_between, email, required, in.

I have added in test cases for all methods and separated Validate from the rest of the bindings as this will become a rather large file. I will be adding in docs to the README.md after some more feedback and if we settle on something. All test cases currently passing and errors are being properly reported. However errors can't be passed back to user because Bind only return a bool. This is your option but I think if Bind was switched to return an array of errors we could clean up the error reporting in Validate and return some really useful errors to end users. Just my opinion though. docs for all implemented functions currently can be seen at https://github.com/michaeljs1990/val.