Commit Graph

206 Commits

Author SHA1 Message Date
john
6a93d166c5 improve gjson/gparser/gvar/gcfg with adding more converting functions 2019-07-09 09:43:53 +08:00
John
929a57ceb8 add Structs/StructsDeep function for gconv; add auto-creating struct/struct pointer for gconv.Struct function when parameter pointer is typeof **struct 2019-07-06 11:10:32 +08:00
John
ed61c2ee22 improve gconv.Map for priority tags 2019-07-04 14:27:43 +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
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
a9660fe9fa add valid tag for gvalid 2019-06-27 14:33:39 +08:00
John
56a62bb4c2 gofmt 2019-06-25 19:01:27 +08:00
John Guo
afb4a233be
Merge pull request #215 from 2892931976/gf-chj 2019-06-25 19:00:02 +08:00
陈国潮
51cf232691 gutil test 20190615 15:47 2019-06-25 15:50:06 +08:00
陈国潮
327e33b827 gutil test 20190623 20:41 2019-06-23 20:44:03 +08:00
guoyahao
d2a053c1d7 no message 2019-06-23 17:53:10 +08:00
陈国潮
abe14e049a gutil test 20190623 16:42 2019-06-23 16:45:30 +08:00
John
fe179fff42 gofmt 2019-06-21 22:23:07 +08:00
John
97df154b78 gofmt 2019-06-19 09:06:52 +08:00
陈国潮
a5ab2ba332 gutil test 2019 06 15 14:20 2019-06-15 14:23:28 +08:00
John
1228907d59 comment updates for internal 2019-06-13 21:14:46 +08:00
John
23d404f681 add glog.Expose for glog; add Trim operation for glog.Logger.Write; fix issue in gjson.Remove for slice 2019-06-13 19:29:09 +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
00a8ef63b6 improve gtcp 2019-06-03 23:53:59 +08:00
John
3a99c6e5f5 improve TryCatch function for gutil 2019-06-03 20:58:30 +08:00
John
9ad94eccad add json output support for glog 2019-06-01 11:01:57 +08:00
John
6e8a900f25 fix issue in gjson/gparser in loading xml content; add *time.Time support for gdb 2019-06-01 00:02:05 +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
635d228c86 adding inherit struct support for gdb 2019-05-16 13:56:49 +08:00
John
75725db6fb remove gmlock for print of glog; add time.Time support for gdb 2019-05-15 23:53:48 +08:00
John
4e2e4e95e0 add gmap.HashMap/TreeMap/AnyAnyMap for gmap; add unit test cases for TreeMap 2019-05-11 20:47:25 +08:00
John
883797c495 fix issue in gconv 2019-05-11 18:03:49 +08:00
John
664b0c06a6 gjson updates 2019-05-11 17:56:14 +08:00
John
b15d8bdd2e adding gtree.RedBlackTree 2019-05-09 22:53:42 +08:00
John
718997327a add default value for gcfg.Get* functions; rename gconv.TimeDuration to gconv.Duration, and do corresponding changes to caller packages 2019-05-09 17:14:24 +08:00
John
8138215597 comments update 2019-05-08 21:03:04 +08:00
John
7cc0c7a1cc rename map type of gmap; rename BatchSet/BatchRemove to Sets/Removes for gmap/gcache 2019-05-08 17:21:18 +08:00
John
4c647aaa19 refacting gmap 2019-05-07 22:28:34 +08:00
John
34cb222b33 remove temprary function map parameter for gview when parsing template file and content 2019-04-25 22:14:20 +08:00
John
2d3d2e783e add default writer for glog to be integrated with other package; comments update for glog 2019-04-17 23:50:37 +08:00
John
c7a6a6fff0 improve grand.Intn; README updates 2019-04-10 23:09:38 +08:00
John
9ec15ad2ca fix issue in repeated rand value of grand.Intn 2019-04-10 18:33:12 +08:00
John
aa4dca11f0 fix issue in gtime; update comment for g/gtest 2019-04-04 22:52:56 +08:00
John
51bb7a9854 ignore private attribute of struct in gconv/gvalid 2019-03-22 10:12:15 +08:00
John
11c89c4090 fix issue in GetOrSetFuncLock of gmap/gcache; add gutil.IsEmpty/Export functions 2019-03-21 18:20:20 +08:00
John
80e0eae6b0 add TLSConfig support for ghttp.Server 2019-03-19 17:48:37 +08:00
John
4e3d735b90 add logging for gcron 2019-03-19 13:58:18 +08:00
John
60e5a7da28 add more unit test cases for grand/gstr 2019-03-18 23:52:25 +08:00
John
72eeadd9aa Merge branch 'master' into develop 2019-03-17 22:31:15 +08:00
John
0af55794f6 add more unit test cases for gdb 2019-03-17 22:26:41 +08:00
John
9f9172c775 update unit test cases of package gconv 2019-03-15 09:05:56 +08:00
John
320e0db417 fix int-overflow issue in gconv.String when converting int64 to string; add more unit test cases for package gconv 2019-03-15 00:22:39 +08:00
John
79a3aa5916 add more unit test cases for package gvalid 2019-03-11 22:58:21 +08:00