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

isEmpty always returns false, if an argument is any struct other than time.Time #143

Open soranoba opened 3 years ago

soranoba commented 3 years ago

ref:

Do you need to treat specially time.Time? I want all structs to be treated the same.