Commit Graph

787 Commits

Author SHA1 Message Date
John Guo
1fb9be0628 improve trace feature for package gdb/gredis; add trace example cases 2022-02-09 02:49:29 +08:00
John Guo
af39eb4c9f CI update; Example update for package gcache 2022-02-08 23:13:33 +08:00
John Guo
f13ccd8527 Merge branch 'master' into feature-gsvc 2022-01-28 16:09:21 +08:00
John Guo
04eb654133 add error stack for internal error printing 2022-01-28 14:51:49 +08:00
John Guo
d322e67117 fix string print for time only gtime.Time; improve package drivers 2022-01-27 12:04:46 +08:00
John Guo
01b9fa8ac9 improve package gcfg 2022-01-25 20:43:57 +08:00
John Guo
43f1354e79 fix configuration support for package gcmd 2022-01-24 10:32:19 +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
619e256138 improve package gcron/gtimer 2022-01-20 15:53:16 +08:00
John Guo
7401fb09c9 add examples for package gcmd 2022-01-19 23:35:23 +08:00
John Guo
bb37e5ac88 remove Handler feature for gcmd.Parser 2022-01-19 21:07:48 +08:00
John Guo
69935f3d1c remove ContainsOpt from package gcmd 2022-01-19 20:25:04 +08:00
John Guo
e90f72b538 improve UT cases for package gtime 2022-01-19 18:23:04 +08:00
John Guo
9efc2894d4 improve UT cases for package gtime 2022-01-19 18:18:30 +08:00
John Guo
07c5ce0bbc improve UT cases for package gtime 2022-01-19 17:26:39 +08:00
John Guo
3bbbe1db9c change pointer receiver that implements interface MarshalJSON to struct receiver for all packages 2022-01-19 16:55:57 +08:00
John Guo
d7b94428ae fix issue in json marshal for package egtime 2022-01-19 16:44:58 +08:00
John Guo
033e2c1d78 fix issue in rules of gmeta.Meta for package gvalid 2022-01-18 15:43:12 +08:00
John Guo
56f88f759a add buildin function yamli for package gview 2022-01-17 17:10:44 +08:00
John Guo
c72a9f2e1e add buildin functions xml/ini/yaml/toml for package gview 2022-01-17 15:55:45 +08:00
John Guo
6468d55a81 add absolute file path support for package gcfg/gview 2022-01-14 17:16:38 +08:00
John Guo
fe93d7b332 add GetRegisteredRuleMap function, add internal logging for rule overwrite situation of package gvalid 2022-01-14 16:46:25 +08:00
John Guo
8731123030 add StdoutColorDisabled configuration for package glog 2022-01-13 15:22:27 +08:00
John Guo
9486f6e7e9 improve package gcmd/ghttp 2022-01-12 19:39:38 +08:00
John Guo
ee25d696eb improve package gcmd 2022-01-01 20:20:49 +08:00
John Guo
c17530a6db improve command not found error for package gcmd 2022-01-01 19:57:43 +08:00
John Guo
c1586a3b81 improve package gcmd 2022-01-01 00:58:10 +08:00
John Guo
09f9d1cb7a improve package gcmd 2022-01-01 00:18:50 +08:00
John Guo
fd5b0fdf49 comment update 2021-12-30 00:20:38 +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
cafd9098d7 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-22 22:22:42 +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
63d384b676 help content update for pakcga egcmd 2021-12-18 23:27:41 +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
b9907ae3ba improve package gview for default folder searching 2021-12-17 21:38:10 +08:00
John Guo
656d1bbbd6 improve content type response for ghttp.Server 2021-12-17 17:42:18 +08:00
John Guo
3658faafae improve help content printing for package gcmd 2021-12-17 15:47:48 +08:00
John Guo
f3c25ecba9 fix issue in ut for package gcache/gfsnotify 2021-12-17 12:11:40 +08:00
John Guo
b9d6ac26d1 rename cache function from func() (interface{}, error) to func(ctx context.Context) (value interface{}, err error) for package gcache; add cache for function Tables of gdb.Core; improve Where condition with prefix handling for package gdb 2021-12-17 11:46:05 +08:00
John Guo
4de74464ac fix issue in unit testing case for package gctx/glog 2021-12-16 23:38:40 +08:00
John Guo
aee52fd56e enable OpenTelemetry in default for some core components 2021-12-16 23:09:37 +08:00
John Guo
f4e8eff813 improve help content printing for package gcmd 2021-12-16 12:45:00 +08:00
John Guo
36e05561cc improve Export feature for package gres 2021-12-14 23:49:08 +08:00
John Guo
bc2ce19876 add Export feature for package gres 2021-12-14 23:01:20 +08:00
John Guo
4c7e409e61 improve argument/option printing content for package gcmd 2021-12-14 22:34:06 +08:00
John Guo
bb1a95fff8 fix issue in gproc.ShellExec 2021-12-14 21:01:36 +08:00
John Guo
7d84ab761b improve package gcmd for help content printing 2021-12-13 20:30:56 +08:00
John Guo
80daed6bdf add repeated checks for command name, argument name and short name for package gcmd 2021-12-13 20:18:13 +08:00
John Guo
1015fb5338 improve package gcmd 2021-12-13 19:59:41 +08:00
John Guo
a1fb5f18dc improve package gcmd 2021-12-11 01:11:40 +08:00
John Guo
780d06b19e improve package gcmd 2021-12-11 00:57:26 +08:00
John Guo
3a20883a81 improve package gcmd 2021-12-11 00:12:58 +08:00
John Guo
f0c25d8476 improve package gcmd/gtag 2021-12-10 23:58:10 +08:00
John Guo
e10ba4cf67 improve stack filtering for package gdebug/glog 2021-12-10 22:54:32 +08:00
John Guo
39bbca2a50 add stack filter of goframe module path for logging content 2021-12-10 18:52:35 +08:00
John Guo
f25f8e8033 add argument feature for package gcmd 2021-12-09 23:49:39 +08:00
John Guo
01930c9899 improve package gcmd 2021-12-08 19:50:28 +08:00
John Guo
4f0b45aeac improve package gcmd 2021-12-08 19:21:25 +08:00
John Guo
b7b71795a4 improve package gcmd 2021-12-07 22:19:28 +08:00
John Guo
9c41f2e3f8 improve package gcmd 2021-12-07 22:10:19 +08:00
John Guo
a8d6363e79 inject Command into context and add function CommandFromCtx for package gcmd 2021-12-07 21:55:06 +08:00
John Guo
5dcdb66794 add MustShell/MustShellRun/MustShellExec for package gproc 2021-12-07 21:13:50 +08:00
John Guo
ad64a29145 add MustSet/MusetRemove for package genv 2021-12-07 21:03:06 +08:00
John Guo
6a82fdb888 add config feature for package gcmd 2021-12-07 19:08:52 +08:00
John Guo
71399d1f65 improve package gcmd 2021-12-04 00:26:45 +08:00
John Guo
80e8a58f45 add NeedArgs feature for package gcmd 2021-12-02 23:50:29 +08:00
John Guo
26ef8c5872 add root tag in matadata of struct to specify the root command function for the object for package gcmd 2021-12-02 23:31:06 +08:00
John Guo
6aa39b3451 improve package gcfg 2021-12-02 20:55:41 +08:00
John Guo
c1b75b9071 improve package gcmd 2021-12-02 20:27:26 +08:00
John Guo
65e1048715 improve package gcron 2021-12-02 20:05:29 +08:00
John Guo
9ed6ebbcff
Merge pull request #1384 from kingeasternsun/processconflict
feat(fix bug , add nexttime feature):
2021-12-02 19:50:01 +08:00
John Guo
261fa7e843
Merge pull request #1505 from jqb44179/feature/gfile_example
pull request by gfile example
2021-12-02 19:41:21 +08:00
tom
632b7f34ae add gfile example 2021-12-02 17:27:53 +08:00
ansionfor
8f0c0337c5 update gtime example output 2021-11-30 23:10:02 +08:00
ansionfor
d87413fb23 Merge branch 'master' of https://github.com/ehproject-teamer/gf 2021-11-30 22:55:51 +08:00
ansionfor
0340fb7124 update gtime example 2021-11-30 22:53:28 +08:00
heansheng
6c19844a2f
Merge branch 'gogf:master' into master 2021-11-30 22:50:48 +08:00
John Guo
dd0045e36f improve package gcmd 2021-11-30 16:43:42 +08:00
ansionfor
6acb2f46e6 update gtime example 2021-11-29 10:14:55 +08:00
ansionfor
578d8218bd go fmt 2021-11-29 10:08:12 +08:00
heansheng
f754bdbb0e
Update gtime_z_example_time_test.go 2021-11-29 10:05:52 +08:00
ansionfor
3ff77a87d4 add json 2021-11-28 23:57:49 +08:00
ansionfor
2ead7606b2 go fmt 2021-11-28 23:41:41 +08:00
heansheng
1fdf85e3b8
update MarshalJSON example 2021-11-28 23:36:21 +08:00
John Guo
45e9e108bd add search folders for package gcfg 2021-11-27 20:54:02 +08:00
John Guo
7bdb4fe660 fix unit testing case for package gcache 2021-11-27 12:10:05 +08:00
John Guo
817c3ce698 add Available function for Adapter of package gcfg 2021-11-27 01:36:21 +08:00
John Guo
c33378540a add Available function for Adapter of package gcfg 2021-11-27 01:33:53 +08:00
John Guo
35cf228d83 add AdapterRedis for package gcache 2021-11-27 01:10:00 +08:00
mojoma
ab1f64a83e remove unnecessary code 2021-11-25 22:01:47 +08:00
John Guo
be0df90d05 add strict attribute for gcmd.Command for strict option parsing 2021-11-25 14:56:15 +08:00
John Guo
f91b5b558a improve package gcmd 2021-11-24 22:45:34 +08:00
John Guo
0db3a9f0f6 improve package gcmd 2021-11-24 22:27:09 +08:00
John Guo
8442bab164 improve package gcmd 2021-11-24 22:15:23 +08:00
John Guo
332de30fba improve package gcmd 2021-11-24 21:57:41 +08:00
John Guo
c5541b484f improve package gtag/gcmd 2021-11-24 21:41:36 +08:00
John Guo
7b22355abb expose package internal/structs as os/gstructs; add package gtag for custom tag storage feature 2021-11-24 16:17:50 +08:00
John Guo
0622b517c5 command object feature for package gcmd 2021-11-23 20:26:55 +08:00