Commit Graph

64 Commits

Author SHA1 Message Date
John Guo
a326f4a989 improve package gi18n/gview/gvalid for more flexable i18n feature controll,add custom error configuration and i18n translation for custom error message 2021-05-13 00:16:45 +08:00
John Guo
9d362c3738 merge feature/improve_struct_validation 2021-05-12 00:15:53 +08:00
John Guo
b06580d343 improve struct validation for package gvalid 2021-05-12 00:01:52 +08:00
John Guo
a4240bdfb7 improve struct validation for package gvalid 2021-05-11 20:57:30 +08:00
John Guo
2e38416e12 improve struct embedded association case of with feature for package gdb 2021-05-11 20:00:50 +08:00
John Guo
034a3f1808 improve struct validation 2021-05-11 19:20:39 +08:00
jflyfox
524e3bedc7 improve empty value validation for required-with* patterns for package gvalid 2021-04-26 20:37:36 +08:00
John Guo
c4fc9f9618 fix issue #1204: improve validation support for time value, eg: gtime.Time/*gtime.Time, time.Time/*time.Time. 2021-03-30 16:06:20 +08:00
John Guo
9c70fe3be8 add more unit testing case for package gvalid 2021-03-30 15:25:26 +08:00
John Guo
482e093331 add map/[]map converting support for gconv.Scan;improve gconv.MaptoMaps 2021-03-23 17:53:20 +08:00
John Guo
20f2a6c003 add recursive validation feature of struct attribute for package gvalid for #1165 2021-03-10 23:28:34 +08:00
John Guo
d330afdd36 add required* rules checks for map/slice 2021-02-24 01:20:06 +08:00
John Guo
acf47f3907 orm with feature 2021-02-08 17:57:21 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
jianchenma
73c68e48a1 improve package gvalid 2021-01-12 10:46:39 +08:00
John Guo
9f5a51e854 fix Strings/String function for package gvalid, issue:1077 2020-12-23 21:13:47 +08:00
John Guo
b7e41ec32c improve package gvalid 2020-12-09 21:00:30 +08:00
John
32101189a2 Merge branch 'master' of https://github.com/gogf/gf into develop 2020-11-29 21:46:36 +08:00
sunmoon
fa47b0306d Add 172-segment verification rules, add loose mobile number verification rules. 2020-11-28 12:23:18 +08:00
Jack
60fc9b6417 add gerror.ApiCurrent impements for gerror.Error 2020-11-25 19:06:29 +08:00
John
e06b62ecf2 add default value from struct tag for ghttp.Request 2020-11-08 15:44:04 +08:00
John
d178102f82 remove third party package 'structs'; improve performance for package internal/structs 2020-11-08 14:25:17 +08:00
John
5999f22f76 fix issue in embeded struct validation for package gvalid 2020-11-04 20:04:54 +08:00
Jack
4ae89dc9f6 improve package internal/structs 2020-10-30 22:04:34 +08:00
Jack
846646d92d improve json validation rule for package gvalid 2020-10-22 09:11:38 +08:00
Jack
43441a8218 allow custom validation rule validate empty or nil values 2020-10-21 00:08:36 +08:00
John
a585a26c39 improve custom rule function type for package gvalid 2020-09-29 23:25:20 +08:00
John
262f27748c improve custom validation rule feature for package gvalid 2020-09-22 08:45:22 +08:00
John
a29aef7e1c improve package gvalid for custom rule 2020-09-21 23:51:30 +08:00
Jack
acc0846cf3 fix issue in unit testing case of package gvalid 2020-08-24 22:26:12 +08:00
John
676e904ec6 improve package gvalid 2020-08-21 00:00:00 +08:00
John
49aa5c61bc improve package gvalid 2020-08-20 23:37:02 +08:00
John
a2272b852c improve package gvalid 2020-08-20 23:28:58 +08:00
John
1fa77630f9 improve package gvalid 2020-08-20 23:28:10 +08:00
John
a841c4cc05 improve package gvalid 2020-08-20 23:25:36 +08:00
john
8efc0ca0ea comment update for package gvalid 2020-07-12 10:33:24 +08:00
John
0f6f571ccb remove the space trimming of the validation value for package gvalid 2020-07-08 20:53:56 +08:00
john
c04be14cd9 add custom validation rule feature for package gvalid 2020-07-05 18:55:38 +08:00
john
e8d6d96883 fix issue in error field name lost for package gvalid 2020-06-14 17:28:48 +08:00
John
49d1e3dbaf fix issue of attribute name lost in package gvalid 2020-06-12 22:25:58 +08:00
John
bd8d3fca08 improve domain rule for package gvalid 2020-05-18 19:44:15 +08:00
john
9355bc73a2 improve package gvalid 2020-05-16 13:31:24 +08:00
John
6621edb04c improve i18n of chinese for package gvalid 2020-05-13 19:10:38 +08:00
John
b0c722e297 improve package gvalid 2020-05-10 22:34:16 +08:00
John
47a6284274 improve package gvalid 2020-05-10 22:32:10 +08:00
John
150b8edb70 improve package gvalid 2020-05-10 17:49:23 +08:00
John
aa5d3285eb improve package gvalid 2020-05-10 16:48:00 +08:00
john
993d6e3076 improve package gvalid 2020-05-10 10:56:11 +08:00
John
78ad9d8c2d improve error message of package gvalid 2020-05-10 09:05:52 +08:00
John
71b1f00dc5 improve package gdb/gstr/gvalid 2020-04-20 22:36:28 +08:00