Commit Graph

427 Commits

Author SHA1 Message Date
John Guo
033e2c1d78 fix issue in rules of gmeta.Meta for package gvalid 2022-01-18 15:43:12 +08:00
John Guo
d4b502f14e fix issue #1571 2022-01-15 22:15:10 +08:00
John Guo
fe93d7b332 add GetRegisteredRuleMap function, add internal logging for rule overwrite situation of package gvalid 2022-01-14 16:46:25 +08:00
John Guo
6e12aa4bf7 fix issue #1568 2022-01-13 20:49:26 +08:00
Anonymous
343985ad12 Add tests to highlight problem cases previously failing 2022-01-10 18:53:32 +00:00
Anonymous
4cdddbd6e0 Recurse map fields inside structs 2022-01-04 19:22:18 +00:00
John Guo
14e96069f2 comment update for package gvalid 2021-12-26 23:17:33 +08:00
John Guo
48c5c1e5a8 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-23 00:09:00 +08:00
John Guo
ce93b625d4 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-21 22:59:14 +08:00
John Guo
7e81600772 improve package gjson 2021-12-20 00:32:23 +08:00
John Guo
40225c5352 improve route dump for package ghttp;remove mutex for package gtag 2021-12-18 12:54:09 +08:00
John Guo
20c0e6d68f error message update for package gconv 2021-12-17 17:28:02 +08:00
John Guo
b27259aded fix issue converting empty map[string]string to map[string]interface{} 2021-12-17 17:22:55 +08:00
huangqian
e401ba0f43 Merge branch 'master' of https://github.com/gogf/gf 2021-12-11 23:11:35 +08:00
huangqian
b4e6abc460 Adjust the function sequence 2021-12-11 23:11:17 +08:00
John Guo
f0c25d8476 improve package gcmd/gtag 2021-12-10 23:58:10 +08:00
John Guo
02f01323f9
Merge pull request #1510 from huangqian1985/master
Validator Function Example
2021-12-07 19:07:54 +08:00
John Guo
6a82fdb888 add config feature for package gcmd 2021-12-07 19:08:52 +08:00
huangqian
10fc81f716 modify gvalid sample file name 2021-12-07 13:49:08 +08:00
huangqian
ff36667dbc move sample function to right file 2021-12-06 22:20:00 +08:00
huangqian
e11698dc2a modify function name 2021-12-05 22:18:13 +08:00
huangqian
68a8a456c9 move function sample to new file 2021-12-05 14:56:34 +08:00
huangqian
acb2bc7d99 Merge branch 'master' of https://github.com/gogf/gf into gvalid_Example 2021-12-04 14:35:45 +08:00
huangqian
7b9a03d13c Implemented Validator Example
1.RuleFunc 2.RuleFuncMap
2021-12-04 14:35:33 +08:00
John Guo
0da5535bda improve package gvalid 2021-12-04 00:11:57 +08:00
John Guo
3f030b1f6e improve error message for invalid rule for package gvalid 2021-12-03 23:56:00 +08:00
huangqian
9659f45fbb Implemented Validator Example
1.Ci 2.Data 3.Assoc 4.Rules 5.Messages
2021-12-01 23:16:16 +08:00
huangqian
6b5f111b6a Implemented gvalid Example
1.New 2.Run 3.Clone 4.I18n
2021-11-30 23:48:26 +08:00
John Guo
c5541b484f improve package gtag/gcmd 2021-11-24 21:41:36 +08:00
John Guo
7b22355abb expose package internal/structs as os/gstructs; add package gtag for custom tag storage feature 2021-11-24 16:17:50 +08:00
John Guo
28fe100761
Merge pull request #1489 from huangqian1985/master
gmap Example and gvalid Example
2021-11-23 20:40:33 +08:00
John Guo
0622b517c5 command object feature for package gcmd 2021-11-23 20:26:55 +08:00
huangqian
d7da2b5657 Merge branch 'master' of https://github.com/gogf/gf 2021-11-23 20:22:00 +08:00
John Guo
9748b9f70b improve association feature for package gvalid 2021-11-23 10:42:43 +08:00
huangqian
a237495b66 modify CheckStruct to Run 2021-11-23 07:44:35 +08:00
huangqian
00ac9069ee Merge branch 'master' of https://github.com/gogf/gf 2021-11-22 23:26:40 +08:00
John Guo
a96acf6eed improve dump feature for package gutil 2021-11-22 23:05:32 +08:00
John Guo
bbc43520fb improve package gvalid 2021-11-22 22:47:00 +08:00
John Guo
cea6e4c3d9 improve package gvalid 2021-11-22 22:43:09 +08:00
huangqian
7e56bf700a Merge branch 'master' of https://github.com/gogf/gf 2021-11-22 21:10:52 +08:00
huangqian
2728ab9e42 add "ci" rule Example 2021-11-22 21:04:24 +08:00
John Guo
3be19e58e1 recursive validation feature for package gvalid 2021-11-22 20:28:47 +08:00
huangqian
82ea10a59b Merge branch 'master' of https://github.com/gogf/gf 2021-11-22 15:27:38 +08:00
John Guo
86a1721326 Merge branch 'master' into feature/recursive-validation 2021-11-22 14:45:53 +08:00
John Guo
eaef2d865e add rule ci for package gvalid 2021-11-22 14:41:33 +08:00
huangqian
c94513f4aa add "bail" rule Example 2021-11-22 08:59:21 +08:00
John Guo
42673c383a merge master 2021-11-19 23:14:58 +08:00
John Guo
551ceef0e1 improve package gconv 2021-11-19 15:21:46 +08:00
John Guo
07ac8aca41 fix unit testing cases for package gres/gview 2021-11-18 20:07:24 +08:00
John Guo
de4db409ee improve gutil.Dump 2021-11-18 15:25:24 +08:00