7ffdff37e4
chore: upgrade golangci-lint configuration and optimize codebase ( #4236 )
...
This PR includes the following changes:
- **Upgrade `.golangci.yml`**: Updated the configuration file to align
with the latest golangci-lint version, ensuring compatibility and
leveraging new features.
- **Refactor GitHub Action workflow**: Modified `golangci-lint.yml` in
the GitHub Actions workflow to reflect the updated configuration and
improve CI performance.
- **Codebase optimization**: Refactored code to address issues and
warnings raised by the updated golangci-lint rules, including:
- Improved function length and complexity.
- Enhanced error handling and variable naming conventions.
- Fixed minor issues such as unused imports and formatting
inconsistencies.
These changes aim to maintain code quality, ensure compatibility with
the latest tools, and improve overall maintainability.
2025-08-22 13:29:09 +08:00
99f0fb14a1
fix(net/ghttp): BufferWriter.Flush writes additional information after custom response wrote ( #4116 )
2025-01-22 09:28:06 +08:00
38bffc77e2
fix(net/ghttp): occasional ci failed by unit testing cases using gctp.GetFreePort ( #3982 )
2024-12-10 09:52:48 +08:00
1c12f3a30d
fix: http superfluous response.WriteHeader call in some scenario ( #3428 )
2024-03-28 22:08:54 +08:00
8669512f42
feat: add metric feature support in goframe ( #3138 )
2024-03-24 21:18:30 +08:00
ad737ded3c
fix issue #2447 ( #2448 )
2023-02-15 14:13:32 +08:00
6574b8cbfe
change build-in swagger ui to public cdn
2022-03-23 14:48:34 +08:00
ee16b6df88
change build-in swagger ui to public cdn
2022-03-23 14:43:48 +08:00
88a9eef8a6
api swagger ui update
2022-03-01 11:43:42 +08:00
8de176d73f
move package /net/ghttp/internal/client as /net/gclient
2021-12-03 23:32:00 +08:00
afc3367f31
auto enable dump feature for ghttp.Client
2021-12-03 17:49:26 +08:00
9105590c69
improve chaining feature for ghttp.Client
2021-11-25 16:23:18 +08:00
bb4f72d1ec
improve code Introduce according to grouping
2021-11-16 19:43:02 +08:00
be03b3cdda
Improved import, by group improt.
2021-11-13 23:23:55 +08:00
fa5499373a
replace char <xxx> to ;add GetWithEnv/GetWithCmd fuctions for package gcfg
2021-10-21 18:22:47 +08:00
920c97af79
openapi
2021-10-13 22:28:49 +08:00
1bc0635f8b
version 2
2021-10-11 21:41:56 +08:00
c84e79a46d
improve swagger ui feature for package ghttp
2021-10-06 11:54:53 +08:00
322f5933ad
add build-in swagger ui support for ghttp.Server
2021-10-03 00:22:06 +08:00
131214151c
add context for Client of package ghttp
2021-09-30 14:06:46 +08:00
993bf897cf
remove deprecated functions; refract package gjson
2021-09-27 22:47:39 +08:00
45b45517c8
[feature] upgrade opentelemetry version v1.0.0
2021-09-21 23:53:03 +08:00
9d67cb4f34
[feature] upgrade opentelemetry version v1.0.0
2021-09-21 15:15:37 +08:00
727f58a24b
remove usage of gconv.Unsafe* functions internally to avoid unexpected errors
2021-09-14 19:30:20 +08:00
abc8e62d58
add package gcode and improve error implements for package gerror
2021-08-24 21:18:59 +08:00
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
0ddacdd7e2
add error code for components
2021-07-20 23:02:02 +08:00
d109706ad3
unify error package to gerror
2021-06-26 18:34:26 +08:00
50ffaef33f
add context for intlog/gsession;improve struct/structs converting for package gconv
2021-06-26 16:23:54 +08:00
6a24b595f0
upgrade otel from 0.16.0 to 0.18.0
2021-03-18 10:39:23 +08:00
d72d23c2eb
change browser mode from boolean markable variable to cookiejar for ghttp.Client
2021-03-11 18:58:13 +08:00
4d32733790
improve ghttp.Client for #1179
2021-03-09 22:54:38 +08:00
5db4bbc186
fix issue 1162
2021-02-24 01:07:09 +08:00
2c34d96b9d
add tls configuration for ghttp.Client
2021-02-23 22:00:11 +08:00
6135085d61
improve package gtrace
2021-02-03 15:27:41 +08:00
40bdc76af1
improve package gtrace
2021-02-03 15:14:07 +08:00
ce40d139e7
fix issue of nil response handling for ghttp.Client
2021-02-01 21:51:42 +08:00
8368e11827
merge develop
2021-02-01 17:14:08 +08:00
e6b4662ec2
improve tracing feature
2021-02-01 17:10:50 +08:00
3e33d66ab4
fix issue https://github.com/gogf/gf/issues/1148
2021-01-30 23:05:02 +08:00
8bd24724e7
Update client_request.go
2021-01-30 22:10:06 +08:00
80248e9a6e
improve tracing
2021-01-28 14:09:13 +08:00
2734903886
tracing baggage
2021-01-28 13:51:23 +08:00
6e4e1abf1e
improve tracing by adding constants for attribute and event names
2021-01-27 20:25:57 +08:00
2c15aad0e7
add common tracing labels
2021-01-27 19:50:32 +08:00
8f6f17c341
add common tracing labels
2021-01-27 19:15:14 +08:00
c72c7dbe9a
improve tracing feature
2021-01-26 16:06:20 +08:00
cc1e340585
add tracing middleware for ghttp.Client/Server; add package gtrace
2021-01-25 18:43:47 +08:00
3f2ae3ba62
add tracing feature for ghttp.Client
2021-01-25 14:54:38 +08:00