dependabot[bot]
699f0304ed
build(deps): bump github.com/aliyun/aliyun-log-go-sdk ( #2492 )
...
Bumps [github.com/aliyun/aliyun-log-go-sdk](https://github.com/aliyun/aliyun-log-go-sdk ) from 0.1.39 to 0.1.40.
- [Release notes](https://github.com/aliyun/aliyun-log-go-sdk/releases )
- [Commits](https://github.com/aliyun/aliyun-log-go-sdk/compare/v0.1.39...v0.1.40 )
---
updated-dependencies:
- dependency-name: github.com/aliyun/aliyun-log-go-sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 09:56:49 +08:00
dependabot[bot]
c888d50cc5
build(deps): bump google.golang.org/grpc in /contrib/registry/etcd ( #2454 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.46.2 to 1.50.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.46.2...v1.50.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 09:14:06 +08:00
jessetang
a1a2b9dbd9
test(encoding/form): add unit test and code style modift ( #2467 )
...
* test(encoding/form): add unit test and code style modift
* fix test
* add populateRepeatedField test
2022-11-08 09:13:35 +08:00
JellyTony
590c469081
feat: add app Before and Afters option ( #2403 )
...
* feat: add app Before and Afters option
* feat: before and Afters with context params
* style: declaration of "err" shadows declaration
Co-authored-by: JeffreyBool <zhanggaoyuan@mediatrack.cn>
2022-11-07 18:34:31 +08:00
Miguel Martínez Triviño
0f38511ea8
fix(filter): filter out keyvals if keyFunc is provided ( #2484 )
2022-11-07 14:24:41 +08:00
jessetang
511f1917ce
fix(contrib/log): test case error ( #2487 )
...
* fix(contrib/log): test case error
* fix float32
* add nil case
2022-11-07 14:20:56 +08:00
jessetang
2a65502be2
style(config): code style tweaks and abstracts some methods ( #2465 )
...
* style(config): code specification tweaks and abstracts some methods
* optimize
* modify func location
2022-11-02 18:15:33 +08:00
dependabot[bot]
03d9494b19
build(deps): bump github.com/hashicorp/consul/api ( #2473 )
...
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul ) from 1.14.0 to 1.15.3.
- [Release notes](https://github.com/hashicorp/consul/releases )
- [Changelog](https://github.com/hashicorp/consul/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/consul/compare/api/v1.14.0...api/v1.15.3 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/consul/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-02 18:07:31 +08:00
dependabot[bot]
c4c1ebab47
build(deps): bump github.com/aliyun/aliyun-log-go-sdk ( #2483 )
...
Bumps [github.com/aliyun/aliyun-log-go-sdk](https://github.com/aliyun/aliyun-log-go-sdk ) from 0.1.37 to 0.1.39.
- [Release notes](https://github.com/aliyun/aliyun-log-go-sdk/releases )
- [Commits](https://github.com/aliyun/aliyun-log-go-sdk/compare/v0.1.37...v0.1.39 )
---
updated-dependencies:
- dependency-name: github.com/aliyun/aliyun-log-go-sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-02 18:06:22 +08:00
Tony Chen
f0878b0a78
fix ewma panic ( #2480 )
...
* fix ewma panic
2022-10-28 20:22:14 +08:00
jessetang
3c65f16737
style(contrib/config): code style modify ( #2475 )
2022-10-26 14:24:14 +08:00
包子
dcae38d656
deps: upgrade kratos version to v2.5.2 ( #2464 )
v2.5.2
2022-10-19 22:37:16 +08:00
Jesse
a911f8f9ee
fix(log): toString float32 precision loss and convert uint use FormatUint
( #2461 )
...
* fix(log): toString float32 precision loss
* convert uint to string
2022-10-19 15:07:58 +08:00
dependabot[bot]
4bd1fde7ef
build(deps): bump actions/setup-go from 3.3.0 to 3.3.1 ( #2462 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3.3.0...v3.3.1 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-19 12:34:19 +08:00
Jesse
54655e4b24
cleanup: use HTTP package methods replace GET POST DELETE... ( #2412 )
2022-10-18 21:40:16 +08:00
Tony Chen
185aaa7184
fix net error ( #2460 )
2022-10-18 21:36:06 +08:00
Guoqiang Ding
40300677ee
fix(metadata): sort services by lexicographical order on ListServices ( #2397 )
...
Co-authored-by: Guoqiang Ding <guoqiang10@staff.sina.com.cn>
2022-10-18 20:23:39 +08:00
Jesse
6bb3ad6f27
fix: in for defer close ( #2411 )
...
Resource leakage may occur. Call 'defer' in the 'for' loop.
case: https://go.dev/doc/effective_go#defer
2022-10-18 20:21:56 +08:00
Jesse
54c6fb3631
test(middleware/auth/jwt): add test TestNewContextAndFromContext ( #2447 )
2022-10-18 20:09:03 +08:00
Jesse
b5482d1794
test(middleware/metadata): supplement test and modify code style ( #2448 )
2022-10-18 20:08:18 +08:00
Guoqiang Ding
e3feea6eeb
docs(config/etcd): fix the missing step of Load ( #2450 )
...
Co-authored-by: Guoqiang Ding <guoqiang10@staff.sina.com.cn>
2022-10-18 20:05:37 +08:00
ruohone
d82d607c21
[Feature] add path prefix for http server ( #2439 )
...
* update http.NewServer
Add feature:option of mux router prefix path.
* remove nil check in
transport->http->PathPrefix option.
Co-authored-by: luozhihong <luozhihong@risenlighten.com>
2022-10-16 21:30:01 +08:00
jesse.tang
7a99e8bbdc
cleanup: regex replcae \. => . ( #2435 )
2022-10-14 11:09:43 +08:00
jesse.tang
77d260241c
test(middleware/logging): TestExtractError ( #2443 )
2022-10-14 11:08:42 +08:00
jesse.tang
2de6ba028c
cleanup: update scpSyntaxRe regexp ( #2444 )
2022-10-14 11:08:16 +08:00
jesse.tang
b5cd1c693d
fix: contrib/registry/eureka/client.go serveice -> serivce ( #2440 )
2022-10-12 19:21:39 +08:00
jesse.tang
c5e86ca36d
style: kratos interface check ( #2441 )
...
* style: kratos interface check
* fix: kratos interface check
2022-10-12 19:21:03 +08:00
包子
8743f3e50c
deps: upgrade kratos version v2.5.1 ( #2431 )
...
* deps: upgrade kratos version v2.5.1
* fix goimport
v2.5.1
2022-10-10 13:50:04 +08:00
jesse.tang
69fcd50c0a
feat: golangci add goimports local-prefixes ( #2413 )
...
* feat: golangci goimports local-prefixes
* fix lint
* fix lint
2022-10-10 11:27:01 +08:00
jesse.tang
9f65c1a03d
cleanup: remove redundancy type conversion and golangci add unconvert ( #2409 )
...
* cleanup: remove redundancy type conversion
* golangci add unconvert check
2022-10-10 11:19:39 +08:00
Tony Chen
a680321309
add custom binding ( #2428 )
...
* add custom binding
* fix test
* fix empty value
2022-10-10 10:51:06 +08:00
Tony Chen
468630cc4b
expose request from transport ( #2427 )
2022-10-09 16:50:09 +08:00
180909
9301bfa407
chore(log): let log toString same ( #2414 )
2022-10-09 16:33:20 +08:00
leyou240
ff59a89b06
chore: Update go.yml ( #2426 )
2022-10-09 11:03:57 +08:00
jesse.tang
0ecc2b422f
style: modify declaring empty slices ( #2378 )
...
* fix: modify declaring empty slices
declare an empty slice to var s []int replace s :=[]int{}, https://github.com/golang/go/wiki/CodeReviewComments#declaring-empty-slices
* fix lint
2022-09-27 23:14:29 +08:00
Gaffey
faa3adc300
style(config/value): optimize atomicValue format string ( #2401 )
2022-09-27 23:12:18 +08:00
180909
b10e067fe9
test(log): add toString unit test ( #2373 )
...
* test(log): add toString unit test
* fix lint
* annotation
* fix build&test
2022-09-27 14:23:12 +08:00
jesse.tang
0e698b248a
cleanup: remove fmt and errors new err ( #2377 )
...
* cleanup: remove fmt and errors new err
* fix lint
* fix style
* modify global variable
2022-09-27 14:12:09 +08:00
180909
2936b5ba80
cleanup: remove the repeated import ( #2393 )
2022-09-27 14:08:42 +08:00
jesse.tang
4d95050747
fix: fmt import ( #2379 )
2022-09-27 14:08:08 +08:00
swliao425
8d067a32db
fix(aliyun log): 'format bool' is missing in 'toString' function ( #2406 )
2022-09-27 12:19:21 +08:00
180909
2170a12aa4
fix: modify interface check way on selector ( #2399 )
2022-09-24 23:29:00 +08:00
180909
add67beeb3
fix(http/binding): fix http encode url ( #2400 )
...
`/api/v1/[name]`
2022-09-24 12:21:58 +08:00
包子
7866ff75fd
fix(registry/consul): use health check option to control custom checks ( #2391 )
2022-09-21 15:21:56 +08:00
Tony Chen
2d325fd386
fix(http/binding): fix http encode url ( #2392 )
...
* fix(http/binding): fix http encode url
2022-09-21 11:31:51 +08:00
jesse.tang
080165f2ee
cleanup: modify deprecated field ( #2380 )
2022-09-20 11:24:30 +08:00
jesse.tang
9737a3c5e4
fix: typo and grammatical errors ( #2368 )
...
* fix: grammar
* fix: grammar
* fix overrode
* translate to English
* translate to English
2022-09-19 10:39:54 +08:00
Jiepeng Cao
7f2666be9f
typo for log ( #2374 )
2022-09-15 21:31:13 +08:00
jesse.tang
7a320233cd
fix: .gitignore del Repeated .*so ( #2367 )
2022-09-15 20:15:07 +08:00
Loner1024
d3f80c1061
test: supplement the unit testing of transport/grpc ( #2371 )
...
* test:grpc codec test
* style:go fmt
* refactor:delete useless code
* style:go fmt
2022-09-15 20:13:51 +08:00