没有合适的资源?快使用搜索试试~ 我知道了~
gator:go的结构验证库
共83个文件
go:75个
license:2个
gitignore:2个
需积分: 9 0 下载量 35 浏览量
2021-06-09
12:30:59
上传
评论
收藏 262KB ZIP 举报
温馨提示
鳄鱼 Gator(或 valigator)是一个使用结构标签验证结构的库。 这是一个使用示例: // NOTE: Gator tags will only be recognized on fields that are public. type BigStruct struct { Required string `gator:”nonzero”` Email string `gator:”email”` Website string `gator:"url"` IPAddress string `gator:"ip"` PetName string `gator:"alpha"` Phone
资源推荐
资源详情
资源评论
收起资源包目录
gator-master.zip (83个子文件)
gator-master
func.go 6KB
util.go 1KB
gator_test.go 9KB
LICENSE 1KB
doc.go 2KB
README.md 2KB
Godeps
_workspace
src
github.com
onsi
gomega
matchers
be_numerically_matcher_test.go 5KB
consist_of.go 2KB
have_len_matcher.go 835B
be_true_matcher_test.go 500B
match_error_matcher.go 1KB
be_a_directory_test.go 1KB
match_regexp_matcher_test.go 1KB
have_key_matcher_test.go 2KB
have_key_matcher.go 1KB
be_false_matcher.go 658B
be_closed_matcher.go 1KB
have_prefix_matcher.go 1KB
be_closed_matcher_test.go 2KB
be_equivalent_to_matcher_test.go 1KB
assignable_to_type_of_matcher.go 935B
panic_matcher.go 1KB
succeed_matcher_test.go 774B
be_false_matcher_test.go 504B
be_sent_matcher_test.go 3KB
be_equivalent_to_matcher.go 1KB
be_empty_matcher.go 712B
be_temporally_matcher.go 2KB
have_prefix_matcher_test.go 1019B
type_support.go 3KB
assignable_to_type_of_matcher_test.go 950B
receive_matcher.go 3KB
be_an_existing_file_test.go 1KB
have_key_with_value_matcher.go 2KB
be_a_directory.go 1KB
match_json_matcher_test.go 2KB
have_occurred_matcher.go 857B
match_json_matcher.go 2KB
succeed_matcher.go 787B
be_nil_matcher.go 520B
be_numerically_matcher.go 4KB
contain_element_matcher.go 1KB
have_occurred_matcher_test.go 715B
be_zero_matcher_test.go 665B
panic_matcher_test.go 1KB
match_regexp_matcher.go 1KB
equal_matcher.go 745B
have_suffix_matcher_test.go 1019B
have_suffix_matcher.go 1KB
be_temporally_matcher_test.go 3KB
contain_substring_matcher.go 1KB
be_an_existing_file.go 905B
receive_matcher_test.go 7KB
contain_substring_matcher_test.go 1KB
be_zero_matcher.go 686B
equal_matcher_test.go 2KB
match_error_matcher_test.go 2KB
be_a_regular_file.go 1KB
have_len_matcher_test.go 1KB
be_sent_matcher.go 2KB
contain_element_matcher_test.go 3KB
have_key_with_value_matcher_test.go 3KB
be_empty_matcher_test.go 1KB
be_nil_matcher_test.go 553B
be_true_matcher.go 650B
support
goraph
node
node.go 71B
bipartitegraph
bipartitegraph.go 1KB
bipartitegraphmatching.go 4KB
util
util.go 99B
MIT.LICENSE 1KB
edge
edge.go 1KB
matcher_tests_suite_test.go 375B
be_a_regular_file_test.go 1KB
consist_of_test.go 3KB
format
format_suite_test.go 191B
format_test.go 14KB
format.go 7KB
.gitignore 10B
Readme 136B
Godeps.json 379B
gator.go 7KB
.gitignore 266B
gator.png 195KB
共 83 条
- 1
资源评论
还是那个小宇
- 粉丝: 25
- 资源: 4729
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功