go-playground / validator

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

Add oneofci validator (oneof case insensitive) #1321

Closed connorcarnes closed 1 week ago

connorcarnes commented 2 months ago

Fixes Or Enhances

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

@go-playground/validator-maintainers

coveralls commented 2 months ago

Coverage Status

coverage: 74.31% (+0.02%) from 74.292% when pulling 2d82730fbae0db78d607ed35d84815d5ba2c53f5 on connorcarnes:add-oneofci into f1939ee4461159b2d328c77117eddf66340c0e17 on go-playground:master.