Go库,用于验证结构和字段。-Golang开发

时间:2021-05-26 16:44:21
【文件属性】:
文件名称:Go库,用于验证结构和字段。-Golang开发
文件大小:18KB
文件格式:ZIP
更新时间:2021-05-26 16:44:21
Golang Miscellaneous 验证Go库以验证结构和字段。 功能简单简单而愚蠢,不涉及任何魔术。 类型安全模式是在Go中定义的,它比传统的stru验证类型安全(且功能更强大),该Go用于验证结构和字段的Go库。 功能简单简单而愚蠢,不涉及任何魔术。 类型安全模式是在Go中定义的,它比传统的struct标签更安全(且功能更强大)。 灵活的验证器是复合的。 嵌套结构验证得到很好的支持。 模式可以在结构内部或外部定义。 验证器自定义变得容易。 无需反思安装$ go get github.com/RussellLuo/validate Validator factory and
【文件预览】:
validating-master
----go.mod(52B)
----example_customizations_test.go(1KB)
----validating_test.go(92KB)
----builtin.go(22KB)
----example_simple_struct_test.go(420B)
----example_nested_struct_schema_inside_test.go(729B)
----example_simple_map_test.go(452B)
----LICENSE(1KB)
----.github()
--------workflows()
----example_simple_value_test.go(259B)
----README.md(4KB)
----example_simple_slice_test.go(407B)
----example_nested_struct_slice_test.go(974B)
----example_nested_struct_map_test.go(1008B)
----example_nested_struct_pointer_test.go(920B)
----errors.go(1KB)
----validating.go(542B)
----example_nested_struct_test.go(600B)

网友评论