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.3k forks source link

RegisterTagNameFunc doc update #1128

Closed teathedev closed 10 months ago

teathedev commented 1 year ago

Fixes Or Enhances

RegisterTagNameFunc document was misleading. I updated the description to be more clear. It doesn't affect the strings return from StructField so I added where it affect.

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.972%. remained the same when pulling 4a66afc3fed7383bfc05c24a4df631e42ad79f4d on teathedev:master into bd1113d5c1901c5205fc0a7af031a11268ff13ee on go-playground:master.