Commit Graph

83 Commits

Author SHA1 Message Date
John Guo
439350836e fix example case for package gsession 2022-03-21 22:44:21 +08:00
John Guo
546b6b1724 t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
huangqian
b5855037f3 Improving gSession Code Coverage 2022-03-02 21:50:23 +08:00
huangqian
cb69fbcbd6 Improving gSession Code Coverage 2022-03-01 22:12:59 +08:00
John Guo
5f2047d61b fix issue in configuration StdoutColorDisabled for package glog; rename TempDir to Temp for package gfile 2022-02-14 14:50:25 +08:00
John Guo
04eb654133 add error stack for internal error printing 2022-01-28 14:51:49 +08:00
John Guo
6e1c76efe6 add GetAdapter for package gcache; add GetStorage for package gsession 2022-01-23 15:14:06 +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
57a1a7607a improve package gsession 2021-12-18 17:14:33 +08:00
John Guo
31772d5eac add fnction Mustremove for package gsession 2021-12-18 14:13:36 +08:00
John Guo
77422f71f7 add fnction MustSet/MusetSetMap for package gsession 2021-12-18 14:10:55 +08:00
John Guo
35cf228d83 add AdapterRedis for package gcache 2021-11-27 01:10:00 +08:00
John Guo
57ccc13e0c unit testing files renaming 2021-11-17 23:20:58 +08:00
houseme
ff8633231f improve code 'if block ends with a return statement, so drop this else and outdent its block (golint)' 2021-11-16 00:26:10 +08:00
houseme
4fa2a879d7 [feature] improve code gview 2021-11-15 20:49:02 +08:00
John Guo
17e6063c5c add neccessary parameter context for package gcron/gtimer 2021-10-30 15:36:10 +08:00
John Guo
1bc0635f8b version 2 2021-10-11 21:41:56 +08:00
John Guo
df09d8c604 refract package ghttp/gredis/glog 2021-09-27 21:27:24 +08:00
John Guo
5904a1e7c0 refract package gredis 2021-09-26 23:22:32 +08:00
John Guo
6eee72b336 refract package gredis 2021-09-23 21:23:22 +08:00
John Guo
6fa0ad5793 gredis refract 2021-09-23 19:12:02 +08:00
John Guo
53db88c630 comment update for package gsession 2021-09-19 10:18:58 +08:00
jflyfox
5383672d78 change returned parameter from interface{} to *gvar.Var for gsession.Sessio.Get; remove Get* function excluding Get for gsession.Session 2021-09-17 11:15:00 +08:00
John Guo
28f70d52ee add context parameter for all functions of package gcache 2021-09-17 10:48:08 +08:00
John Guo
1455e30350 change returned value by Get* and Update/Remove functions from type interface{} to *gvar.Var for package gcache 2021-09-16 22:13:00 +08:00
John Guo
b46e9bb68a improve package gcache 2021-09-16 21:17:03 +08:00
John Guo
abc8e62d58 add package gcode and improve error implements for package gerror 2021-08-24 21:18:59 +08:00
John Guo
ad6c4f5245 improve session storage for package gsession 2021-08-16 21:47:45 +08:00
John Guo
0ddacdd7e2 add error code for components 2021-07-20 23:02:02 +08:00
John Guo
d109706ad3 unify error package to gerror 2021-06-26 18:34:26 +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
7003c284d0 replace json.Unmarshal with json.UnmarshalUseNumber for packages 2021-05-15 22:38:07 +08:00
John Guo
ac4485dc84 comment update for package gsession 2021-04-02 18:00:50 +08:00
John Guo
6376b8aaa6 remove session storage file removing feature for package gsession 2021-03-11 21:21:47 +08:00
John Guo
58362ad143 add grand.D for random time.Duration;add checking and removing session files for package gsession 2021-03-11 20:05:08 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
John Guo
aefa54f04b improve package gredis 2021-01-16 20:37:59 +08:00
jflyfox
b12c909fd6 add logging level configuration for package ghttp 2021-01-06 01:00:49 +08:00
John Guo
4991e14dff improve error message when failed in Mkdir 2021-01-03 12:05:04 +08:00
jflyfox
7fa09596b0 improve package gsession 2020-12-09 16:22:03 +08:00
John Guo
60ec59fa4a improve package gsession 2020-12-07 20:39:52 +08:00
John
9f04e46166 mark gconv.StructDeep/StructsDeep deprecated 2020-11-05 23:02:29 +08:00
John
9044d5f05d fix issue in custom session id lost for ghttp.Request 2020-10-13 20:34:31 +08:00
John
849874a247 improve adapter definition for package gcache 2020-10-09 20:59:49 +08:00
John
46bdde9265 revert gvar.Var from interface to struct 2020-06-29 13:40:19 +08:00
John
f28a76d470 merge develop 2020-06-17 23:59:20 +08:00
John
b2aa59d893 import third-party library json-iterator to improve the performance for json operations 2020-06-17 21:16:25 +08:00
John
897a9f4584 Merge branch 'develop' 2020-06-16 20:42:26 +08:00
John
4d38b508a3 improve gvar by changig gvar.Var from type struct to interface 2020-06-16 17:38:05 +08:00