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

Is there any reason why `requiredRule` struct is unexported? #108

Closed erdaltsksn closed 4 years ago

erdaltsksn commented 4 years ago

I need to access requireRule struct from my app. Looks like every other rule struct is exported.

I would like to patch it if possible.