refactor(valid): 重构参数绑定函数错误处理机制

- 将CustomBind函数改为直接返回泛型对象,移除错误返回值
- 将bindFromJSON和bindFromParams函数改为panic方式处理错误
- 修改CustomBindToMap和CustomBindStructAndMap函数以适应新的错误处理机制
- 更新.gitignore文件忽略规则格式
- 更新IDE缓存文件中的文件修改时间戳
This commit is contained in:
2026-02-25 16:02:35 +08:00
parent 65aea30aa4
commit d409dc0e2f
3 changed files with 37 additions and 45 deletions
+2 -3
View File
@@ -3,10 +3,9 @@
.project
.orig
.swp
.idea/
.idea
.settings/
.vscode/
bin/
.vscode
**/.DS_Store
gf
main