Commit Graph

32 Commits

Author SHA1 Message Date
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
47e0fb95d5 add package internal/structtag; improve ghttp.Request.Get*ToStruct functions to support substruct with 'param' tag; improve gtest.compareMap; improve gconv.Map using internal/structtag 2019-07-03 22:09:35 +08:00
John
97df154b78 gofmt 2019-06-19 09:06:52 +08:00
John
f9826104d8 improve gconv 2019-06-08 19:25:20 +08:00
John
6d44f02a38 fix issue in internal/empty 2019-06-05 18:40:26 +08:00
John
7034e2015e add FormatTo/LayoutTo functions for gtime; use custom ExpireFunc to close poool items when pool is close for gpool 2019-05-29 11:25:11 +08:00
John
41f33af51b add gconv.StructDeep/MapDeep functions for gconv; add struct inherit converting support for gdb 2019-05-28 21:41:00 +08:00
John
8138215597 comments update 2019-05-08 21:03:04 +08:00
John
51bb7a9854 ignore private attribute of struct in gconv/gvalid 2019-03-22 10:12:15 +08:00
John
2ba59e8943 fix issue in gtime convert in package gconv; add Structs/Scan functions for gdb.Model; add GetStructs/GetScan functions for gdb.Base and gdb.TX 2019-03-07 23:36:45 +08:00
John
76c49170bd change gitee.com/johng/gf -> github.com/gogf/gf 2019-02-02 16:18:25 +08:00
John
0762fec696 comments update 2019-02-02 15:16:45 +08:00
John
6c6c64bb3b rename category string to text 2019-02-01 20:45:11 +08:00
John
08d71cede3 merge qiangg_php 2019-02-01 00:04:34 +08:00
John
85677b952f fulfil funcs of gstr/gset/garray; move gstr/gregex to the string category; move gtest to the test category 2019-01-30 21:27:03 +08:00
John
58d60bc899 add json tag support for struct converting of gconv 2019-01-24 15:37:53 +08:00
John
302f3c1467 optimized package gconv, supported struct attr with ptr 2019-01-14 13:55:07 +08:00
John
f4644ce685 change func(xxx, safe...bool) to func(xxx, unsafe...bool); add new internal package mutex 2019-01-12 23:36:22 +08:00
John
e67aa63a50 refract gdb package, add complete unit test cases, almost there 2018-12-15 15:50:39 +08:00
John
b19e47783b ghttp增加静态文件目录映射功能;改进gspath目录管理功能;改进gconv的slice转换功能,并增加gconv.Map方法 2018-11-30 09:48:57 +08:00
john
88a966ef17 gconv增加对带' '参数键名到struct属性的转换,如:nick name => struct.NickName,并完善示例程序 2018-11-02 13:13:01 +08:00
john
e7c60f11e1 gconv增加对带'-'及'_'参数键名到struct属性的转换,如:nick_name/nick-name => struct.NickName 2018-11-02 12:59:45 +08:00
john
306d279a5b 改进gconv.Struct转换默认规则,支持不区分大小写的键名与属性名称匹配 2018-10-31 09:14:52 +08:00
john
7fbbf09b0e 新增go modules支持,自行管理第三方包依赖,方便开发者使用 2018-10-22 11:13:00 +08:00
john
f0c4068448 完成gvar包的开发,并改进相关依赖包 2018-10-09 13:33:00 +08:00
john
845b954d0e gconv增加Ints/Floats/Interfaces转换方法,完善gconv.Struct方法封装,改进相关依赖包对gconv的引用 2018-10-09 10:05:55 +08:00
john
c3d8ba756b 完善gconv.Struct转换示例代码,改进gjson/gparser/gcfg相关引用方法 2018-10-08 13:38:36 +08:00
john
99735b5f1d 改进gconv.Struct对象转换 2018-09-30 13:31:03 +08:00
john
5f73334930 gconv.Struct改进 2018-09-29 18:06:04 +08:00
john
d7d3e6a50d gconv改进 2018-09-28 13:33:41 +08:00
john
a68ee95575 改进gconv对象转换方法,名称修改gconv.MapToStruct -> gconv.Struct 2018-09-28 09:58:01 +08:00
John
359b73e61c garray.Slice方法改进,gqueue改进 2018-09-16 10:51:02 +08:00