Commit Graph

165 Commits

Author SHA1 Message Date
John Guo
aee52fd56e enable OpenTelemetry in default for some core components 2021-12-16 23:09:37 +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
01930c9899 improve package gcmd 2021-12-08 19:50:28 +08:00
John Guo
0e3a8576b4 improve debugging feature 2021-12-04 23:07:54 +08:00
John Guo
8de176d73f move package /net/ghttp/internal/client as /net/gclient 2021-12-03 23:32:00 +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
9e21052a3c object feature for package gcmd 2021-11-23 14:08:37 +08:00
John Guo
dbee5810dc merge master 2021-11-21 00:54:40 +08:00
John Guo
57ccc13e0c unit testing files renaming 2021-11-17 23:20:58 +08:00
houseme
bb4f72d1ec improve code Introduce according to grouping 2021-11-16 19:43:02 +08:00
houseme
be03b3cdda Improved import, by group improt. 2021-11-13 23:23:55 +08:00
John Guo
95a4690e69 improve error feature for package gvalid 2021-11-09 17:50:14 +08:00
John Guo
42c4b32720 add gconv.ScanList 2021-11-07 00:16:14 +08:00
John Guo
8ef4f68215 add IgnoreEmptySliceWhere feature for package gdb; add OriginValueAndKind/OriginTypeAndKind functions for package internal/utils 2021-10-28 23:18:23 +08:00
John Guo
a19ba3d530 add embedded struct fields overwrite feature for package internal/structs 2021-10-26 21:57:56 +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
18ceebeffd filter key updates for stack information 2021-10-12 17:25:45 +08:00
John Guo
7eb3b32b26 fix unit testing cases 2021-10-11 21:53:16 +08:00
John Guo
1bc0635f8b version 2 2021-10-11 21:41:56 +08:00
John Guo
892d3abf38 openapi generating feature 2021-10-06 19:52:19 +08:00
John Guo
337c2d0953 filter issue in internal/structs 2021-10-06 11:10:35 +08:00
John Guo
dcafba8a2d add package goai for OpenAPIv3 support 2021-10-02 14:52:28 +08:00
John Guo
b7b4067973 fix issue in unit testing case of package internal/structs 2021-09-29 19:18:27 +08:00
John Guo
02478371f2 fix issue missing org tag value retrieving when using struct in Fields for package gdb 2021-09-28 22:02:08 +08:00
jianchenma
01a3dd1eb0 add function gerror.HasStack; rename all api* interfaces to i* 2021-09-17 19:26:56 +08:00
John Guo
fc1dfb7ff9 comment update;standardize const naming for package gtcp/gudp 2021-08-08 13:10:21 +08:00
John Guo
685bf56a30 fix issue #1325 2021-08-03 22:21:20 +08:00
John Guo
0ddacdd7e2 add error code for components 2021-07-20 23:02:02 +08:00
John Guo
b192b7dd60 remove internal logging for package gtimer 2021-07-15 21:46:56 +08:00
John Guo
03d51bd18c add internal logging for package gtimer 2021-07-15 21:40:26 +08:00
John Guo
fbfc23211c fix issue in Counter of package gdb 2021-07-13 19:37:16 +08:00
John Guo
5e92747737 fix issue #1291 2021-07-08 22:44:16 +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
c25f88293b unify command or enviroment key names for packages 2021-06-26 12:08:18 +08:00
jflyfox
7144aa6999 improve caller path filtering for package gdebug 2021-06-22 15:34:26 +08:00
jflyfox
fbad5f60eb improve caller path filtering for package gdebug 2021-06-22 15:09:08 +08:00
John Guo
9ee0f04e58 add command feature for package gcmd 2021-05-26 22:08:13 +08:00
John Guo
2274a10cfd fx issue #1250 2021-05-17 19:59:34 +08:00
John Guo
33567ef338 remove unit testing file for package internal/json 2021-05-15 23:42:39 +08:00
John Guo
b2a15c259e improve unit testing case for package internal/json 2021-05-15 23:21:38 +08:00
John Guo
f389688caa add unit testing cases for package internal/json 2021-05-15 23:02:21 +08:00
John Guo
7003c284d0 replace json.Unmarshal with json.UnmarshalUseNumber for packages 2021-05-15 22:38:07 +08:00
John Guo
9d362c3738 merge feature/improve_struct_validation 2021-05-12 00:15:53 +08:00
John Guo
2e38416e12 improve struct embedded association case of with feature for package gdb 2021-05-11 20:00:50 +08:00
John Guo
034a3f1808 improve struct validation 2021-05-11 19:20:39 +08:00
jflyfox
524e3bedc7 improve empty value validation for required-with* patterns for package gvalid 2021-04-26 20:37:36 +08:00
John Guo
20f2a6c003 add recursive validation feature of struct attribute for package gvalid for #1165 2021-03-10 23:28:34 +08:00
jflyfox
04e42d2175 improve package internal/intlog 2021-03-01 17:15:18 +08:00
John Guo
a3fa10d820 great! completed 'with' feature for package gdb 2021-02-09 18:00:43 +08:00
John Guo
acf47f3907 orm with feature 2021-02-08 17:57:21 +08:00
John Guo
b4d5335e43 add package gmeta for embedded struct of meta data feature 2021-02-07 21:23:09 +08:00
John Guo
fefde4c290 improve stack feature for package gdebug/gerror 2021-02-04 00:10:13 +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
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
John Guo
92b791eb08 improve Struct convertion for package gdb; improve IsNil function for package internal/empty 2021-01-09 21:05:47 +08:00
John Guo
fc66a0715a comment updates for package internal/empty 2020-12-25 01:44:07 +08:00
viken
5400d22bc2 improve function empty 2020-12-12 21:57:07 +08:00
John Guo
1e7f795c69 remove package github.com/json-iterator/go 2020-12-09 01:38:56 +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
Jack
5171250a9d improve gutil.Keys,gdb.Model.Fields,internal/structs 2020-12-04 14:22:50 +08:00
John
11e102e137 fix issue in internal/structs.MapField 2020-11-08 16:21:09 +08:00
John
e06b62ecf2 add default value from struct tag for ghttp.Request 2020-11-08 15:44:04 +08:00
John
d178102f82 remove third party package 'structs'; improve performance for package internal/structs 2020-11-08 14:25:17 +08:00
John
e1dd5cce7d improve performance for gconv.Struct 2020-11-08 00:06:05 +08:00
John
12ed05f846 improva package internal/empty by adding more common types assertion 2020-11-05 20:40:34 +08:00
Jack
4ae89dc9f6 improve package internal/structs 2020-10-30 22:04:34 +08:00
Jack
9c3b978b50 improve package ghttp and internal/structs 2020-10-22 15:16:31 +08:00
Jack
ffe9ecc141 improve package internal/empty 2020-10-20 14:07:01 +08:00
John
1d174e00c0 improve package internal/intlog 2020-09-24 23:46:19 +08:00
John
a5e3e2f5ba change g.SetDebug function to control the debugging information for framework 2020-09-24 23:40:44 +08:00
john
04dee090a3 improve graceful reload feature for ghttp.Server 2020-07-25 13:50:04 +08:00
John
46bdde9265 revert gvar.Var from interface to struct 2020-06-29 13:40:19 +08:00
John
2c0cfa24b0 fix issue in package gjson for struct to map converting 2020-06-18 20:40:24 +08:00
John
abe9b54112 embarrassing jsoniter of another incompatibility with stdlib json 2020-06-17 21:43:51 +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
4d38b508a3 improve gvar by changig gvar.Var from type struct to interface 2020-06-16 17:38:05 +08:00
John
cbf465eeea improve body interface implements for ghttp.Reqest/Response 2020-06-06 13:34:58 +08:00
John
b6ab1a992c improve empty checks for common interfaces implementer 2020-05-25 14:26:08 +08:00
john
7c2cff7d99 add function GetVar for package gcache 2020-05-17 18:16:26 +08:00
John
b79ff84c6f add struct slice conversion for request parameters for ghttp.Request; improve package gconv 2020-04-30 16:53:47 +08:00
John
b17e3a6804 improve package gset 2020-04-13 23:44:43 +08:00
John
385a503d31 add soft deleting feature, improve chars handling for package gdb 2020-04-11 09:09:25 +08:00
John
23c2f12672 improve MapDeep function for package gconv; improve gjson.New function for loading struct parameter 2020-04-09 13:37:27 +08:00
John
f7850e3ed3 improve package garray 2020-04-07 11:29:42 +08:00
John
f1f575fd5c improve package gins/gfile/intlog 2020-03-28 00:37:23 +08:00
John
75054ee109 fix issue in rebinding feature for grou router of ghttp.Server 2020-03-24 19:48:10 +08:00
John
0b6d04485e improve unit testing cases 2020-03-19 22:56:12 +08:00
John
e513cd10ed add Lock* functions for gdb.Model and improve Data/Where functions for gdb.Model 2020-03-13 17:21:30 +08:00
John
11f0317e92 add Array feature for package gdb 2020-03-11 23:17:41 +08:00
John
4732bf46ad add Context map for internal context workflow parameter exchanges for ghttp.Request 2020-03-08 22:53:20 +08:00
John
bb1c27c36a add more unit testing cases for glog 2020-02-26 23:26:24 +08:00
John
87cd0703c0 change internal log prefix from '[GF]' to '[INTE]' 2020-02-26 11:57:26 +08:00
John
c70bc7c96a improve pakage g/gins 2020-02-23 20:25:55 +08:00
John
d8ef8a1f5d add gf.debug options and GF_DEBUG env control params for internal logging feature 2020-02-22 14:51:44 +08:00
John
13dba407a2 fix parameter issue in benchmark of internal/rwmutex 2020-02-21 13:15:40 +08:00
John
edf2366296 improve gzip feature for gcompress; add gzip compression for package gres 2020-01-15 00:15:56 +08:00
John
604a10400d improve parameter parsing feature for ghttp.Request 2020-01-01 14:57:57 +08:00
John
e3f54e1353 improve tag and field retrieving feature for internal/structs; comment update for gdb 2019-12-12 23:38:46 +08:00