Commit Graph

572 Commits

Author SHA1 Message Date
John Guo
79a233eb78 example&comment update 2021-11-01 19:46:39 +08:00
John Guo
e22e1d0e4a remove function Println from package glog 2021-10-30 19:44:22 +08:00
John Guo
17e6063c5c add neccessary parameter context for package gcron/gtimer 2021-10-30 15:36:10 +08:00
John Guo
1bfa792ea9 fix context canceled error while propagate context from http.Request 2021-10-28 23:37:51 +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
aacfa1bd96 add short typed tag mapping for summary/description for package goai;add suffix checks for request/response struct naming 2021-10-21 20:17:02 +08:00
John Guo
862ef57e0f fix unit testing cases 2021-10-21 19:25: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
085c887b33 openapi 2021-10-13 22:34:52 +08:00
John Guo
920c97af79 openapi 2021-10-13 22:28:49 +08:00
John Guo
1bc0635f8b version 2 2021-10-11 21:41:56 +08:00
John Guo
89661301b0 fix issue for unit testing case for package ghttp 2021-10-06 20:16:18 +08:00
John Guo
18ede3ae1f improve error information for package goai 2021-10-06 15:03:00 +08:00
John Guo
9ed79e9e86 openapi generating for ghttp.Server 2021-10-06 14:52:29 +08:00
John Guo
82d04d612b fix openapi specification generating; improve handler type 2021-10-06 14:22:58 +08:00
John Guo
9f2eeb23ba print error stack in faltal error for ghttp.Server 2021-10-06 12:12:59 +08:00
John Guo
c84e79a46d improve swagger ui feature for package ghttp 2021-10-06 11:54:53 +08:00
John Guo
322f5933ad add build-in swagger ui support for ghttp.Server 2021-10-03 00:22:06 +08:00
John Guo
1e80dc71eb add automatic generating for OpenApi specification for ghttp.Server routes 2021-10-02 22:34:39 +08:00
John Guo
131214151c add context for Client of package ghttp 2021-09-30 14:06:46 +08:00
John Guo
750972e7c6 fix unit testing cases 2021-09-28 19:04:36 +08:00
John Guo
a9d7dc68a3 remove usage of package gparser 2021-09-27 23:05:46 +08:00
John Guo
993bf897cf remove deprecated functions; refract package gjson 2021-09-27 22:47:39 +08:00
John Guo
df09d8c604 refract package ghttp/gredis/glog 2021-09-27 21:27:24 +08:00
John Guo
b2629b9bfa comment update for package gtrace 2021-09-22 19:12:31 +08:00
John Guo
ad2b3e6cc6 Merge branch 'master' of https://github.com/houseme/gf into develop 2021-09-22 19:04:22 +08:00
houseme
cbe704333a [feature] upgrade opentelemetry version v1.0.0 map to string 2021-09-22 14:54:42 +08:00
houseme
45b45517c8 [feature] upgrade opentelemetry version v1.0.0 2021-09-21 23:53:03 +08:00
houseme
9d67cb4f34 [feature] upgrade opentelemetry version v1.0.0 2021-09-21 15:15:37 +08:00
John Guo
2e49c33cc7 remove depecated functions from package ghttp 2021-09-19 23:13:53 +08:00
John Guo
c99c13acd1 refract pacakge gcfg, adding adapter interface for pacakge gcfg 2021-09-19 10:01:09 +08:00
jianchenma
01a3dd1eb0 add function gerror.HasStack; rename all api* interfaces to i* 2021-09-17 19:26:56 +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
55a9c0738b improve package gcache, add GetVar*/RemoveVar/UpdateVar functions for package gcache 2021-09-16 20:57:59 +08:00
John Guo
e877eab033 fix ci issue 2021-09-15 21:21:29 +08:00
John Guo
64a5cedcdf fix recover logic 2021-09-14 20:47:06 +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
257897763d Merge branch 'master' of https://github.com/gogf/gf 2021-08-25 00:54:47 +08:00
John Guo
b129ee3f04 fix issue in unit testing case for package ghttp 2021-08-24 21:35:49 +08:00
John Guo
abc8e62d58 add package gcode and improve error implements for package gerror 2021-08-24 21:18:59 +08:00
John
ef36cf8446 fix issue in example of package gjson 2021-08-20 23:15:48 +08:00
John Guo
a0ef6fce81 add bacth registering function Map for package ghttp 2021-08-19 20:59:08 +08:00
John Guo
f03f56ba4e improve gconv.Struct for map attribute converting 2021-08-19 11:28:25 +08:00
John Guo
db621e38d9 improve ServeFile/ServeFileDownload for package ghttp 2021-08-16 20:30:58 +08:00
John Guo
7b9888c004 add FieldCount/FieldSum/FieldMax/FieldMin/FieldAvg functions for gdb.Model 2021-08-12 19:42:44 +08:00
John Guo
ef50eb6d6b comment update for package ghttp 2021-08-09 19:16:37 +08:00
John Guo
fc1dfb7ff9 comment update;standardize const naming for package gtcp/gudp 2021-08-08 13:10:21 +08:00
John Guo
dc407bf293 merge develop 2021-08-07 12:04:31 +08:00
John Guo
cd3593182a improve package gerror/ghttp for error code handling 2021-08-07 10:44:57 +08:00
John Guo
75ca866991 fix issue in ghttp.Server 2021-08-05 19:15:18 +08:00
John Guo
4c54b1cfbc improve errcode feature for package gerror 2021-08-04 20:50:45 +08:00
John Guo
5a4de52900 fix invalid separator char in packing with prefix folder string in OS widnows for package gres 2021-08-02 19:58:04 +08:00
John Guo
ff70e54e3e fix unit testing case for package gtrace 2021-08-02 09:50:44 +08:00
jflyfox
bb57dc1ae7 improve request context feature for package ghttp 2021-08-01 09:17:37 +08:00
jflyfox
5a6c2c27df inject Request object into context 2021-07-30 17:17:13 +08:00
jflyfox
4267aadd78 remove controller feature from package ghttp 2021-07-30 15:15:44 +08:00
John Guo
0ddacdd7e2 add error code for components 2021-07-20 23:02:02 +08:00
John Guo
f72d991c36 rename attribute names from lower-camel case to upper-camel case 2021-07-19 20:06:44 +08:00
John Guo
0140808460 add handler extension feature for package ghttp 2021-07-13 23:01:31 +08:00
John Guo
7e2605188d improve session variable map in template parsing 2021-07-06 09:58:25 +08:00
John Guo
e5ae1cb85c improve session variable map in template parsing 2021-07-06 09:53:35 +08:00
John Guo
c42a9d6e50
Merge pull request #1316 from qinyuguang/otel
Otel
2021-06-29 13:05:38 +08:00
qinyuguang
083e32fd9e otel version bump to v1.0.0-RC1 2021-06-28 13:36:37 +08:00
John Guo
d109706ad3 unify error package to gerror 2021-06-26 18:34:26 +08:00
John Guo
859ea150ed rename constants of package gpage from skake to upper camel case 2021-06-26 17:00:32 +08:00
John Guo
91ca79b300 add context for intlog 2021-06-26 16:51:26 +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
John Guo
237f172ae5 add file configuration support for logger in ghttp.Server 2021-06-26 11:18:44 +08:00
John Guo
e6688b9e86 add more unit testing cases for package ghttp 2021-06-23 21:39:12 +08:00
John Guo
742c7913ea fix issue in function Parse for package ghttp 2021-06-02 21:12:27 +08:00
John Guo
ea0340db8e improve validation manager feature for package gvalid 2021-05-19 09:25:49 +08:00
John Guo
2b942bf06b
Merge pull request #1247 from notnear/master
add websocket client
2021-05-17 13:52:39 +08:00
John Guo
7003c284d0 replace json.Unmarshal with json.UnmarshalUseNumber for packages 2021-05-15 22:38:07 +08:00
John Guo
d76e4c8aed refract package gtimer for more stable 2021-05-15 18:13:51 +08:00
John Guo
cc1224e032 add context for package gvalid.Check* functions 2021-05-13 20:56:52 +08:00
tom
09de115670 add websocket client 2021-05-13 17:51:06 +08:00
John Guo
a326f4a989 improve package gi18n/gview/gvalid for more flexable i18n feature controll,add custom error configuration and i18n translation for custom error message 2021-05-13 00:16:45 +08:00
John Guo
b06580d343 improve struct validation for package gvalid 2021-05-12 00:01:52 +08:00
John Guo
5856f74d83 up 2021-05-02 08:10:35 +08:00
John Guo
563509c4a6 route map dumping updates 2021-05-01 09:04:16 +08:00
wujia
90f4bba8fd gofmt格式化 2021-04-07 20:52:38 +08:00
ansionfor
802187abc4 add graceful reload timeout 2021-04-07 16:06:37 +08:00
John Guo
78027d2ec6 deprecated comments update 2021-03-30 13:43:08 +08:00
John Guo
ae5ecb5bfa update unit testing case for package gtrace 2021-03-29 16:12:14 +08:00
John Guo
6f1340ce36 upgrade otel from v0.18.0 to v0.19.0 2021-03-29 16:00:56 +08:00
jianchenma
958b109a12 fix removing cookie issue 2021-03-19 19:16:21 +08:00
jianchenma
9ed8d8c113 rename max content log size name for gtrace from maxlogsize to maxcontentlogsize 2021-03-18 11:22:44 +08:00
jianchenma
6a24b595f0 upgrade otel from 0.16.0 to 0.18.0 2021-03-18 10:39:23 +08:00
John Guo
d72d23c2eb change browser mode from boolean markable variable to cookiejar for ghttp.Client 2021-03-11 18:58:13 +08:00
John Guo
4d32733790 improve ghttp.Client for #1179 2021-03-09 22:54:38 +08:00
John Guo
204fea395c add struct object support in group router registering for package ghttp 2021-03-01 20:49:09 +08:00
John Guo
5db4bbc186 fix issue 1162 2021-02-24 01:07:09 +08:00
John Guo
2c34d96b9d add tls configuration for ghttp.Client 2021-02-23 22:00:11 +08:00
jianchenma
6135085d61 improve package gtrace 2021-02-03 15:27:41 +08:00
jianchenma
40bdc76af1 improve package gtrace 2021-02-03 15:14:07 +08:00
John Guo
ce40d139e7 fix issue of nil response handling for ghttp.Client 2021-02-01 21:51:42 +08:00
John Guo
8368e11827 merge develop 2021-02-01 17:14:08 +08:00