Commit Graph

321 Commits

Author SHA1 Message Date
John Guo
8f4ce91361 improve condition parameter of struct by sequence for package gdb 2021-08-19 14:09:31 +08:00
John Guo
f03f56ba4e improve gconv.Struct for map attribute converting 2021-08-19 11:28:25 +08:00
John Guo
457d552fa0 add UnmarshalJSON interface support for package gconv 2021-08-17 16:51:29 +08:00
John Guo
be2fcf7f57 add UnmarshalJSON interface support for package gconv 2021-08-17 16:30:47 +08:00
John Guo
ad6c4f5245 improve session storage for package gsession 2021-08-16 21:47:45 +08:00
John Guo
7b9888c004 add FieldCount/FieldSum/FieldMax/FieldMin/FieldAvg functions for gdb.Model 2021-08-12 19:42:44 +08:00
John Guo
dc407bf293 merge develop 2021-08-07 12:04:31 +08:00
John Guo
4c54b1cfbc improve errcode feature for package gerror 2021-08-04 20:50:45 +08:00
John Guo
685bf56a30 fix issue #1325 2021-08-03 22:21:20 +08:00
John Guo
f02372cf58 improve package gvalid 2021-08-01 23:50:44 +08:00
John Guo
7678540270 add bail rule for package gvalid 2021-08-01 22:12:44 +08:00
John Guo
0ddacdd7e2 add error code for components 2021-07-20 23:02:02 +08:00
John Guo
bb0a3e09d6 revert gerror usage for package gvalid 2021-06-26 18:44:59 +08:00
John Guo
d109706ad3 unify error package to gerror 2021-06-26 18:34:26 +08:00
John Guo
859ea150ed rename constants of package gpage from skake to upper camel case 2021-06-26 17:00:32 +08:00
John Guo
8210f40469 improve Record/Result converting for package gdb 2021-06-26 16:46:36 +08:00
John Guo
50ffaef33f add context for intlog/gsession;improve struct/structs converting for package gconv 2021-06-26 16:23:54 +08:00
John Guo
c25f88293b unify command or enviroment key names for packages 2021-06-26 12:08:18 +08:00
jflyfox
fbad5f60eb improve caller path filtering for package gdebug 2021-06-22 15:09:08 +08:00
John Guo
ddd171bc18
Merge pull request #1284 from qinyuguang/gutil
add gutil.SliceToMapWithColumnAsKey
2021-06-11 09:52:30 +08:00
John Guo
cca438d77f fix issue #1209 2021-06-10 20:17:53 +08:00
qinyuguang
f2bc29e5c1 add gutil.SliceToMapWithColumnAsKey 2021-06-09 18:49:49 +08:00
fangjw
4f82be5bc0 Fixed incorrect type conversion 2021-06-07 10:17:23 +08:00
John Guo
eb723e47c2 fix issue in gconv.MapDeep 2021-06-05 08:58:54 +08:00
John Guo
7f3a2207a3 Merge branch 'master' of https://github.com/gogf/gf 2021-06-02 21:12:52 +08:00
John Guo
742c7913ea fix issue in function Parse for package ghttp 2021-06-02 21:12:27 +08:00
fangjw
ee3d375532 补充浮点数单元测试 2021-06-02 09:18:52 +08:00
fangjw
e3f5c9175c 补充浮点数单元测试 2021-06-02 09:17:50 +08:00
fangjw
7c24449a24 Merge branch 'master' of github.com:gogf/gf 2021-06-02 09:08:45 +08:00
John Guo
1c09846d3e fix issue #1272 2021-06-01 20:09:52 +08:00
John Guo
3e6b9864d5 fix issue #1256 2021-06-01 19:47:02 +08:00
John Guo
578e7d634b comment updates for package gvalid 2021-05-29 16:47:39 +08:00
wanna
071a587755 Merge remote-tracking branch 'upstream/master' 2021-05-29 12:35:56 +08:00
wanna
c1db01425e fix remarks 2021-05-29 12:25:50 +08:00
wanna
7bfd48e2ab valid field length 2021-05-29 12:15:37 +08:00
John Guo
e80309af32 Merge branch 'master' of https://github.com/gogf/gf 2021-05-29 11:30:47 +08:00
John Guo
fa1814ff54 add custom rule fucntions feature for package gvalid 2021-05-29 11:30:34 +08:00
wanna
d7b8a2684a Revert ""gvalid length" compatible with only one parameter"
This reverts commit b2d3c7d1fd.
2021-05-29 11:28:26 +08:00
wanna
b2d3c7d1fd "gvalid length" compatible with only one parameter 2021-05-28 11:34:51 +08:00
John Guo
fab6c4048d comment update 2021-05-25 22:16:55 +08:00
fangjw
7b32791006 修复浮点型排序
原因:
返回值,强制转成 int 类型,会导致浮点型比较不准确,例如:0.33,转成 int 类型时,会变成 0
2021-05-25 16:15:02 +08:00
fangjw
aa04948319 修复浮点型排序
原因:
返回值,强制转成 int 类型,会导致浮点型比较不准确,例如:0.33,转成 int 类型时,会变成 0
2021-05-25 16:10:52 +08:00
John Guo
5903eb8ceb fix issue #1254 2021-05-25 09:56:23 +08:00
John Guo
7d3233c7ad add context for custom validation rule function;add function WhereNot for gdb.Model 2021-05-19 22:33:50 +08:00
John Guo
fac9ab5c01 improve package gvalid 2021-05-19 19:00:34 +08:00
John Guo
420e0b9ca4 improve package gvalid 2021-05-19 13:29:40 +08:00
John Guo
ea0340db8e improve validation manager feature for package gvalid 2021-05-19 09:25:49 +08:00
John Guo
c8c28770fb change Error from struct to interface for package gvalid;error string update for package gdb 2021-05-18 20:51:31 +08:00
John Guo
0dfd968824 comment update for package gconv/gproc 2021-05-17 21:26:39 +08:00
John Guo
2274a10cfd fx issue #1250 2021-05-17 19:59:34 +08:00