go-playground / validator

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

refactor: use any instead of interface{} #1185

Closed chenyahui closed 8 months ago

chenyahui commented 8 months ago

Fixes Or Enhances

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

@go-playground/validator-maintainers

coveralls commented 8 months ago

Coverage Status

coverage: 73.849%. remained the same when pulling 4e6a8544f0560a49182bf9c4a27d1ca589b18293 on chenyahui:interface_to_any into 94a637ab9fbbb0bc0fe8a278f0352d0b14e2c365 on go-playground:master.

deankarn commented 8 months ago

Sorry @chenyahui but this is a breaking change for anyone using Go 1.17 or below as you saw when needing to remove that from the CI test matrix to enable CI to pass.

I unfortunately cannot make such an update until cutting a new major version.