Commit Graph

415 Commits

Author SHA1 Message Date
jflyfox
353286fd84 fix issue in gtimer 2021-01-19 10:40:07 +08:00
John Guo
c801df497f fix issue in package gtimer 2021-01-19 00:12:22 +08:00
John Guo
93a648ba15 fixing gtimer 2021-01-18 21:20:10 +08:00
John Guo
e661b160d8 const name renaming 2021-01-17 22:10:45 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
John Guo
6f968a125e improve time converting for package gconv 2021-01-17 21:39:17 +08:00
John Guo
5c9cee7fb9 improve package gconv 2021-01-17 20:56:38 +08:00
John Guo
91e29e23a4 improve package gcfg for searching priority 2021-01-16 22:31:48 +08:00
John Guo
aefa54f04b improve package gredis 2021-01-16 20:37:59 +08:00
John Guo
2c5e6b379f improve package gres 2021-01-16 20:20:30 +08:00
John Guo
bc4d84b60f improve comment for package gtime 2021-01-14 00:27:01 +08:00
John Guo
6a67dceca7
Merge pull request #1092 from tiansin/master
feat: 🎨 some time features.
2021-01-14 00:15:44 +08:00
tiansin
55a7c01f73 feat: 🚑 Add function comment 2021-01-13 16:14:21 +08:00
John Guo
a9aa021914 add json tag for configuration struct for package gdb/gredis/ghttp/glog/gview 2021-01-12 00:42:33 +08:00
John Guo
c7ce8cf943 fix issue in resource searching for package gcfg 2021-01-08 00:39:52 +08:00
John Guo
788ade2db0 improve package gres 2021-01-07 19:34:46 +08:00
John Guo
c6f1ae9426 add file name configuration from command line or environment for package gcfg 2021-01-07 01:17:03 +08:00
jflyfox
b12c909fd6 add logging level configuration for package ghttp 2021-01-06 01:00:49 +08:00
jflyfox
9fbdb9712b improve package gtime 2021-01-04 19:50:44 +08:00
jflyfox
b6b1bc8813 improve time converting for package gconv 2021-01-04 19:22:55 +08:00
jflyfox
a62d2589bc improve time zone feature for package gtime 2021-01-04 16:33:33 +08:00
jflyfox
9d865e4ac6 improve package gtime 2021-01-04 15:32:55 +08:00
jflyfox
2eb09efc81 fix issue of data race in unit testing case for package gtime 2021-01-04 14:03:22 +08:00
jflyfox
dd2dfbf58d fix issue of data race in unit testing case for package gtime 2021-01-04 13:50:23 +08:00
John Guo
8a91592839 fix issue in eq for package gview 2021-01-04 00:05:02 +08:00
John Guo
d9bd3153ea improve time parsing for package gtime 2021-01-03 23:37:45 +08:00
John Guo
4991e14dff improve error message when failed in Mkdir 2021-01-03 12:05:04 +08:00
jflyfox
0d5b93bd07 fix issue in incorrect parsing error message for gview 2020-12-29 19:43:25 +08:00
tiansin
dbafe01064 feat: 🎨 some time features. 2020-12-29 18:05:00 +08:00
John Guo
ac827d3154 revert default interval from 100ms to 50ms 2020-12-25 20:31:09 +08:00
jflyfox
306c02bcd4 fix issue for gfile.ReadLinesBytes, and improve callback function definition for gfile.ReadLinesBytes/ReadLines 2020-12-25 11:37:47 +08:00
jflyfox
edc56949b7 improve package glog for rotation feature 2020-12-15 13:03:12 +08:00
John Guo
63bc06d0fe improve package gview 2020-12-15 00:09:55 +08:00
John Guo
3517295e96 improve package gcdm 2020-12-14 23:00:22 +08:00
jflyfox
a2e7aec37f change constant variable names 2020-12-14 13:26:48 +08:00
jflyfox
102e2d07d9 improve package gcfg for automatic configuration file type checks; change const variables for package gcfg/glog/gtimer/gmode/gins/gi18n 2020-12-14 13:02:08 +08:00
John Guo
363f6eba44 remove automatic stack content printing for error that has stack infomation 2020-12-11 01:12:53 +08:00
John Guo
a577605726 improve package gtimer 2020-12-10 20:10:07 +08:00
jflyfox
7fa09596b0 improve package gsession 2020-12-09 16:22:03 +08:00
jflyfox
e9d346ce4f improve package glog 2020-12-09 13:54:27 +08:00
jflyfox
4b91e709f7 Merge branch 'master' of https://github.com/gogf/gf into develop 2020-12-09 13:48:50 +08:00
prcseraph
278e85357d * 日志根据大小切片时,文件重命名读写冲突。 2020-12-08 18:54:42 +08:00
John Guo
60ec59fa4a improve package gsession 2020-12-07 20:39:52 +08:00
John Guo
2f741d3b24 add genv.SetMap 2020-12-05 00:06:03 +08:00
John Guo
d2b65f0f91 add gcmd.GetWithEnv/genv.GetWithCmd; remove package cmdenv; 2020-12-04 23:44:54 +08:00
John Guo
c226782f23 improve package gcmd,internal/cmdenv 2020-12-04 23:29:20 +08:00
John
ecaf0da228 improve package glog; add more unit testing case for package gmlock 2020-12-02 21:33:07 +08:00
John
cabf684ec9 add context feature for package gdb 2020-11-29 23:47:57 +08:00
John
2b6e6ce28e improve update counter feature for package gdb 2020-11-29 22:26:16 +08:00
John
bfe89e0b12 add build-in fuction json for package gview 2020-11-28 22:48:01 +08:00
John
3485ba2a5d improve package gtime 2020-11-26 22:40:55 +08:00
John
df86ffb61e improve package glog for nil file pointer 2020-11-19 20:43:44 +08:00
John Guo
85dd2e9f4f
Merge pull request #978 from lutherlau/patch-1
Update gtimer_timer.go
2020-11-12 20:39:57 +08:00
John
68cc85f2b2 improve file extension handling for package glog 2020-11-12 18:38:58 +08:00
John
3e6a23b0e1 add more unit testing case for package gview 2020-11-08 18:01:09 +08:00
John
ee8d2afe58 add build-in function map/maps for package gview 2020-11-08 17:11:04 +08:00
John
1edc1f35fb add individual cache for package gdb/gfile 2020-11-07 20:00:35 +08:00
John
9f04e46166 mark gconv.StructDeep/StructsDeep deprecated 2020-11-05 23:02:29 +08:00
None
fef20d10a2
Update gtimer_timer.go
bugfix: avoid overflow
2020-11-05 22:33:33 +08:00
John
5999f22f76 fix issue in embeded struct validation for package gvalid 2020-11-04 20:04:54 +08:00
John
87650557fd remove debugging codes from package gtime 2020-10-26 19:06:27 +08:00
John
8e380c0d9d improve package gtime/gconv for map converting 2020-10-25 11:33:30 +08:00
John
7efa9e351e remove default initialization function and add lazy initialization feature for package gfsnotify 2020-10-15 20:07:21 +08:00
John
9044d5f05d fix issue in custom session id lost for ghttp.Request 2020-10-13 20:34:31 +08:00
John
63c0aab19c improve package gtime 2020-10-12 23:32:32 +08:00
John
f9189d48d1 remove type ValueFunc from package gcache 2020-10-09 23:36:39 +08:00
John
849874a247 improve adapter definition for package gcache 2020-10-09 20:59:49 +08:00
John
37b286eaa4 improve performance for gconv.Maps;comment update for package gcache 2020-09-27 22:35:02 +08:00
John
aeb9b68298 improve adapter feature for package gcache 2020-09-26 22:44:07 +08:00
John
bae8f6315b comment updat 2020-09-26 21:13:09 +08:00
John
a6f70f8935 comment updat 2020-09-26 21:00:28 +08:00
John
acca6f4009 add adapter feature for package gcache 2020-09-26 20:47:29 +08:00
John
28b0d59c61 improve package gcfg/gjson for data loading 2020-09-21 21:30:58 +08:00
John
86433cef25 improve gtime.New, gconv.String 2020-09-18 23:59:49 +08:00
John
eb43a2040e add ghttp.Client.RedirectLimit and gfile.ScanDirFileFunc 2020-09-09 22:26:46 +08:00
John
957689e07c up 2020-09-02 23:22:16 +08:00
John
3952d74f87 up 2020-09-02 21:36:21 +08:00
John
6dc4b81693 add max recursive depth for directory scanning for function gfile.Scan* 2020-09-02 21:25:02 +08:00
John
8c12bc5506 change panic to internal logging for package glog 2020-09-01 21:22:19 +08:00
Jack
27dd15b403 improve initialization for logger of package glog 2020-08-26 14:37:02 +08:00
John
bea451c9d6 improve date type support for package gdb; improve datetime string for gtime.StrToTime; improve function gtime.New for more types 2020-08-21 23:41:12 +08:00
John
1874808e3b improve unit testing case for package gcache 2020-08-19 21:37:26 +08:00
Jack
84d761b418 add function AddWithRecover for package grpool 2020-08-12 23:53:05 +08:00
Jack
607821ecbc add function LoadContentType for package gjson 2020-08-12 20:38:48 +08:00
Jack
7cc1b239d4 add functions Update/UpdateExpire/GetExpire for package gcache 2020-08-12 20:13:13 +08:00
John Guo
efa8de34da
Merge pull request #860 from XWR940711/master
add func gcache.SetVar/gcache.SetExpire/gcacge.GetExpire.
2020-08-12 19:19:19 +08:00
糖水不加糖
bcf45e3c5a CI-glog失败重测 2020-08-12 10:32:40 +08:00
糖水不加糖
0a3cd1d2ab 修正方法代码.使用Benchmark测试. 2020-08-12 09:57:47 +08:00
john
c3d3053ded improve GetOrSetFunc for package gcache 2020-08-09 21:28:31 +08:00
John Guo
c39c032b4e
Merge pull request #844 from qinyuguang/scan
gcmd.Scan supports read line that contains whitespace
2020-08-08 09:58:32 +08:00
糖水不加糖
4871f86346 adjust TestCache_Expire_SetVar Test Code. 2020-08-07 16:26:26 +08:00
糖水不加糖
919eaf1e9a adjust TestCache_Expire_SetVar Test Code. 2020-08-07 14:05:21 +08:00
糖水不加糖
8a84ca16d1 add func gcache.SetVar/gcache.SetExpire/gcacge.GetExpire.
add test TestCache_Expire_SetVar.
2020-08-07 13:24:41 +08:00
qinyuguang
cf88f28519 gcmd.Scanf supports read line that contains whitespace 2020-08-03 21:00:02 +08:00
Jack
6d68277db8 improve cookie feature for ghttp.Server 2020-08-03 20:00:00 +08:00
qinyuguang
ba1a9d9f8e gcmd.Scan supports read line that contains whitespace 2020-08-01 02:13:42 +08:00
John Guo
7f33021184
Merge pull request #825 from chenall/gjson-support-utf8-with-bom
fix configfile with UTF8-BOM issue
2020-07-31 00:08:05 +08:00
Jack
f7a9be4292 improve package glog for rotation feature 2020-07-30 21:09:45 +08:00
Jack
a926033b66 move Separator from const to variable for package gfile 2020-07-30 20:57:08 +08:00
Jack
dbcdd06b19 Merge branch 'master' of https://github.com/gogf/gf 2020-07-30 20:49:32 +08:00