Loading... [validator](https://github.com/go-playground/validator) 可以看到已经10k+的星星了 说明还是不错的 [用法可以参考他的_examples](https://github.com/go-playground/validator/blob/master/_examples/simple/main.go) [文档](https://pkg.go.dev/github.com/go-playground/validator/v10#section-documentation) ![image.png](https://blog.11dz.cn/usr/uploads/2022/06/1164398715.png) 最后修改:2022 年 05 月 15 日 © 允许规范转载 打赏 赞赏作者 微信 赞 0 如果觉得我的文章对你有用,请随意赞赏