go-playground / validator

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

change codes bool value to struct{} #1270

Closed nar10z closed 1 month ago

nar10z commented 1 month ago

Closes #1269

Fixes Or Enhances

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

@go-playground/validator-maintainers

coveralls commented 1 month ago

Coverage Status

coverage: 74.247% (+0.004%) from 74.243% when pulling b987593f3f8ef5c402f406f73b12d7f73a44ace8 on nar10z:change_bool_to_struct into e20b94842ab102ba94e73eaf66f5c0466e405882 on go-playground:master.