go-ozzo / ozzo-validation

An idiomatic Go (golang) validation package. Supports configurable and extensible validation rules (validators) using normal language constructs instead of error-prone struct tags.
MIT License
3.73k stars 224 forks source link

validation rule: min: fix error message #27

Closed omeid closed 7 years ago

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 00426ce85a5698093bf0e60ae84be10ffdd35f72 on omeid:patch-1 into d1008ad1fd04ceb5faedaf34881df0c504382706 on go-ozzo:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 0611a220c8be14a967c039ae96f7c6488e36c684 on omeid:patch-1 into d1008ad1fd04ceb5faedaf34881df0c504382706 on go-ozzo:master.

qiangxue commented 7 years ago

Could you fix the test error as well? Thanks!

omeid commented 7 years ago

No worries, I just looked and the Max rule needs more consideration. I will create a pull request soon.

qiangxue commented 7 years ago

Fixed in https://github.com/go-ozzo/ozzo-validation/commit/86433d65440f530b10e94b1b1920895f08b22ec5.

omeid commented 7 years ago

Thanks for the fix! Sorry, I have been rather busy to wrap this up.