go-playground / validator

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

Add missing double quote to simple example #1138

Open andyklimczak opened 11 months ago

andyklimczak commented 11 months ago

Fixes Or Enhances

Missing the double quote causes the oneof validation to not run in the simple example

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.991%. remained the same when pulling 91f690adbbe0049532db953e095c7e09daee91ad on andyklimczak:add-missing-quote-simple-example into 5bf55dc757cad229e8297d42640ec036e2360df7 on go-playground:master.