go-playground / validator

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

feat:oneof support float whitout fractional #1106

Open LjtGentle opened 1 year ago

LjtGentle commented 1 year ago

Fixes Or Enhances

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

@go-playground/validator-maintainers

coveralls commented 1 year ago

Coverage Status

Coverage: 73.892% (+0.01%) from 73.88% when pulling e74efe37938c13216c0b436774c1aa876022ddb7 on LjtGentle:master into c8b98cbcea08971fbead222ddf5fd406a40d40ed on go-playground:master.

LjtGentle commented 1 year ago

It's my lack of consideration. My initial idea was to solve the problem of JSON serialization