Commit Graph

114 Commits

Author SHA1 Message Date
John Guo
255b502460 README update 2022-02-17 17:15:09 +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
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
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
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
John Guo
0622b517c5 command object feature for package gcmd 2021-11-23 20:26:55 +08:00
hailaz
0355ec6b21 doc: add code comments 2021-11-19 09:53:32 +08:00
hailaz
747ed6c64d Merge branch 'master' of https://github.com/gogf/gf into gogf-master 2021-11-18 09:52:27 +08:00
John Guo
57ccc13e0c unit testing files renaming 2021-11-17 23:20:58 +08:00
hailaz
e4023cadce doc: add code comments 2021-11-17 19:50:03 +08:00
hailaz
51cc9c541f doc: add copyright 2021-11-17 14:14:19 +08:00
houseme
b664982be3 [feature] improve code gfile gcfg 2021-11-15 20:26:31 +08:00
hailaz
5ef8280c31 fix: gfile scan dir example 2021-11-14 00:08:31 +08:00
hailaz
f2dc26a7b3 Improved gfile example 2021-11-13 23:42:03 +08:00
hailaz
6d37515e14 Optimization gfile example 2021-11-11 13:01:32 +08:00
hailaz
33694c8b47 fix: ExampleGetContentsWithCache intlog 2021-11-09 16:34:00 +08:00
hailaz
58dd8a29db fix: gflie size example dir default size 4k 2021-11-09 16:04:47 +08:00
hailaz
1f83c00ebf fix: gfile size example fail 2021-11-09 15:49:00 +08:00
hailaz
8a9dd169e2 test: add gflie example 2021-11-05 14:30:50 +08:00
John Guo
56c12ad7c3 fix unit testing case for pakage gfile 2021-11-02 09:56:53 +08:00
John Guo
79a233eb78 example&comment update 2021-11-01 19:46:39 +08:00
John Guo
fa5499373a replace char <xxx> to ;add GetWithEnv/GetWithCmd fuctions for package gcfg 2021-10-21 18:22:47 +08:00
John Guo
1bc0635f8b version 2 2021-10-11 21:41:56 +08:00
John Guo
993bf897cf remove deprecated functions; refract package gjson 2021-09-27 22:47:39 +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
727f58a24b remove usage of gconv.Unsafe* functions internally to avoid unexpected errors 2021-09-14 19:30:20 +08:00
John Guo
006fb79967 improve package gjson; replace fmt.Errorf to gerror; improve examples for package gdb 2021-09-13 16:43:09 +08:00
John Guo
425ca8aa3e improve process comminucation folder creating for package gproc 2021-09-01 15:02:58 +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
4eb057227c add SizeFormat function for package gfile; add more internal logging for rotation feature for pacakge glog 2021-08-07 11:59:30 +08:00
John Guo
0ddacdd7e2 add error code for components 2021-07-20 23:02:02 +08:00
John Guo
fae4dea37a improve color feature for package glog 2021-07-15 13:31:32 +08:00
John Guo
c25f88293b unify command or enviroment key names for packages 2021-06-26 12:08:18 +08:00
John Guo
c423ad4830 fix issue in gfile.MainPkgPath;improve fields filter for package gdb 2021-03-23 14:21:54 +08:00
jianchenma
4aaf09fded improve gfile.MainPkgPath 2021-03-19 16:35:55 +08:00
jianchenma
2f3df76f37 fix issue #1190 2021-03-19 15:37:33 +08:00
jianchenma
36963c05a2 fix issue #1190 2021-03-19 11:35:12 +08:00
jianchenma
6a24b595f0 upgrade otel from 0.16.0 to 0.18.0 2021-03-18 10:39:23 +08:00
jianchenma
813841bb68 rename GetWithEnv to GetOptWithEnv for packge gcmd 2021-02-02 15:16:09 +08:00
John Guo
9cc5d7a691 improve package gdebug/gfile 2021-01-27 00:20:23 +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
4991e14dff improve error message when failed in Mkdir 2021-01-03 12:05:04 +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
John Guo
d2b65f0f91 add gcmd.GetWithEnv/genv.GetWithCmd; remove package cmdenv; 2020-12-04 23:44:54 +08:00