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

Min length function #76

Closed abdullah2993 closed 5 years ago

abdullah2993 commented 5 years ago

Add documentation to show the max value for Length function skips max check if 0 is passed

qiangxue commented 5 years ago

See https://github.com/go-ozzo/ozzo-validation/blob/master/length.go#L13