go-playground / validator

:100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
MIT License
16.64k stars 1.32k forks source link

Add `omitnil` modifier #1187

Closed tarampampam closed 11 months ago

tarampampam commented 11 months ago

Fixes Or Enhances

Related issue: https://github.com/go-playground/validator/issues/1186

Make sure that you've checked the boxes below before you submit PR:

@go-playground/validator-maintainers

coveralls commented 11 months ago

Coverage Status

coverage: 73.849%. remained the same when pulling 8a856d61150dc24c92d195a8b0f7a1008b122877 on tarampampam:master into 94a637ab9fbbb0bc0fe8a278f0352d0b14e2c365 on go-playground:master.

tarampampam commented 11 months ago

Friendly ping @yjagdale @deankarn 😃