Commit Graph

887 Commits

Author SHA1 Message Date
John Guo
be77779aff Merge branch 'master' of https://github.com/gogf/gf into develop 2022-04-18 20:29:35 +08:00
John Guo
1e3d8cdadd fix issue #1721 2022-04-13 21:58:35 +08:00
John Guo
bf674060c0 add internal package consts to manage shared constants; improve buildin function dump only available in develop mode for package gview 2022-04-13 21:08:12 +08:00
John Guo
2d6fcf5d06 fix issue #1708 2022-04-12 12:09:09 +08:00
John Guo
55e0262c37 improve package gconv 2022-04-11 21:54:23 +08:00
yuancjun
4ca168412b
avoid a single space at the end of a line. 2022-04-06 11:57:22 +08:00
John Guo
b4184e4523 Merge branch 'master' of https://github.com/gogf/gf 2022-03-31 16:16:57 +08:00
John Guo
21f48d3750 improve Unique function performance for normal arrays 2022-03-30 14:32:16 +08:00
John Guo
707dc6b346 add xextensions feature for package goai 2022-03-29 20:31:00 +08:00
cuishuang
2d586859c3 fix some typos
Signed-off-by: cuishuang <imcusg@gmail.com>
2022-03-23 21:45:00 +08:00
John Guo
439350836e fix example case for package gsession 2022-03-21 22:44:21 +08:00
John Guo
f670c24e2c fix issue #1681 2022-03-21 22:24:59 +08:00
John Guo
f865d6fa6a remove UT case of http server in package gins 2022-03-18 10:13:00 +08:00
John Guo
5f3a525d11 add Set function for AdapterFile for package gcfg 2022-03-17 21:41:10 +08:00
John Guo
bceb5fc7de rename gdebug.TestData* -> gtest.Data*; add UT case for http server 2022-03-17 16:58:04 +08:00
John Guo
60340a7348 fix UT case for package glog 2022-03-15 10:15:46 +08:00
John Guo
dccfc1c8cd add hook feature for model of package gdb 2022-03-14 23:47:55 +08:00
John Guo
d8d9996464 fix issue #1662 2022-03-11 10:24:42 +08:00
John Guo
afa1f78a02 fix issue #1661 2022-03-10 21:12:24 +08:00
John Guo
546b6b1724 t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
John Guo
eca3583845 fix issue #1416; add ParseOption for package gview 2022-03-10 11:35:23 +08:00
John Guo
f5693c4393 improve package gview 2022-03-10 09:48:19 +08:00
John Guo
6301403777
Merge pull request #1632 from huangqian1985/master
Improving gfile and gSesssion Code Coverage
2022-03-09 20:45:44 +08:00
yxh
2510e0412d [fix bug] Fix redis cache adapter GetOrSetFunc, GetOrSetFuncLock method bug and add unit test 2022-03-09 17:21:02 +08:00
huangqian
f08c18594b Merge branch 'master' of https://github.com/gogf/gf 2022-03-07 22:35:39 +08:00
John Guo
531cc7b864 fix issue in package gproc 2022-03-07 09:57:51 +08:00
John Guo
3fcd6ef877 fix issue orphan value parsing for sructured arguments of command for package gcmd 2022-03-03 21:03:42 +08:00
huangqian
b5855037f3 Improving gSession Code Coverage 2022-03-02 21:50:23 +08:00
huangqian
4d5b41434a Merge branch 'master' of https://github.com/gogf/gf 2022-03-01 22:38:51 +08:00
John Guo
1724a26957 improve package gcfg 2022-03-01 22:34:57 +08:00
huangqian
cb69fbcbd6 Improving gSession Code Coverage 2022-03-01 22:12:59 +08:00
John Guo
12fdfbf8b2 improve package gcfg 2022-03-01 21:14:45 +08:00
huangqian
992a986d12 Merge branch 'master' of https://github.com/gogf/gf 2022-03-01 20:02:21 +08:00
John Guo
88a9eef8a6 api swagger ui update 2022-03-01 11:43:42 +08:00
huangqian
eb533f3344 Improving gfile Code Coverage 2022-02-28 22:57:53 +08:00
huangqian
0516159ae3 Improving gcmd Code Coverage 2022-02-28 21:11:53 +08:00
huangqian
8acffd1186 Improving gcmd Code Coverage 2022-02-27 21:00:23 +08:00
huangqian
814450fd17 gcmd example 2022-02-27 13:22:26 +08:00
John Guo
8eb9fdfcd0 improve package gbuild; version updates 2022-02-23 12:03:21 +08:00
John Guo
22941276a5 fix issue #1611 2022-02-22 21:59:18 +08:00
John Guo
aa6705f493 improva gf cli, package gcfg 2022-02-22 17:42:40 +08:00
John Guo
fdf09b5978 improve UT case for package gtimer 2022-02-17 22:45:06 +08:00
John Guo
31ce55eb4d cli update 2022-02-17 17:52:48 +08:00
John Guo
255b502460 README update 2022-02-17 17:15:09 +08:00
John Guo
948cb9ff7c enhance from issue #1589 2022-02-16 20:51:39 +08:00
John Guo
2428b27168 fix issue #1488 2022-02-15 00:21:05 +08:00
John Guo
01ba56c38b remove function Set for package gcfg 2022-02-14 17:20:27 +08:00
John Guo
23c00eb83f fix issue #1394 2022-02-14 16:08:26 +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
1f9d86f015 improve configuration read from package frame/gins 2022-02-14 11:46:20 +08:00
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