Commit Graph

12 Commits

Author SHA1 Message Date
hailaz
a0a8eb4700 TagMapField改回调用MapField 2019-07-13 11:47:20 +08:00
hailaz
0b8ca3313e 矫正gvalid.CheckStruct()字段别名记录的注释。
优化gvalid.CheckStruct()中属性的tag解析循环。
2019-07-13 10:47:52 +08:00
HaiLaz
cdf92b64d6
Merge pull request #4 from gogf/master
sync master
2019-07-13 09:22:12 +08:00
hailaz
cf745422f3 Fixed use cname in gvalid tag.
Added gvaild data type support for array, slice, map.
Added array, slice, map data test in gvaild unit test.
2019-07-11 15:41:10 +08:00
john
2f17d37f7b add v tag for gvalid; add p tag for ghttp; add c tag for gconv 2019-07-10 23:04:04 +08:00
John
b29c6add47 rename internal/structtag to internal/structs; add more feature for internal/structs; improve gvalid to support recursive validation for struct; improve gconv.Struct/Map functions 2019-07-04 11:11:41 +08:00
John
a9660fe9fa add valid tag for gvalid 2019-06-27 14:33:39 +08:00
John
fe179fff42 gofmt 2019-06-21 22:23:07 +08:00
John
97df154b78 gofmt 2019-06-19 09:06:52 +08:00
John
51bb7a9854 ignore private attribute of struct in gconv/gvalid 2019-03-22 10:12:15 +08:00
John
76c49170bd change gitee.com/johng/gf -> github.com/gogf/gf 2019-02-02 16:18:25 +08:00
John
8b36665a76 初步完成gvalid模块校验结果的顺序特性 2018-11-13 00:12:35 +08:00