Commit Graph

1787 Commits (033910bbd86e4a8484be8e45f15c59a68d48a648)
 

Author SHA1 Message Date
Kevin Wan 033910bbd8 Update readme-cn.md 2 years ago
fondoger 530dd79e3f Fix bug in dart api gen: path parameter is not replaced 2 years ago
Kevin Wan cd5263ac75 Update readme-cn.md 2 years ago
Kevin Wan ea3302a468 fix: test failures (#2892)
Co-authored-by: kevin.wan <kevin.wan@yijinin.com>
2 years ago
fondoger abf15b373c Fix Dart API generation bugs; Add ability to generate API for path parameters (#2887)
* Fix bug in dartgen: Import path should match the generated api filename

* Use Route.HandlerName as generated dart API function name

Reasons:
- There is bug when using url path name as function name, because it may have invalid characters such as ":"
- Switching to HandlerName aligns with other languages such as typescript generation

* [DartGen] Add ability to generate api for url path parameters such as /path/:param
2 years ago
Kevin Wan a865e9ee29 refactor: simplify stringx.Replacer, and avoid potential infinite loops (#2877)
* simplify replace

* backup

* refactor: simplify stringx.Replacer

* chore: add comments and const

* chore: add more tests

* chore: rename variable
2 years ago
Kevin Wan f8292198cf Update readme-cn.md 2 years ago
Kevin Wan 016d965f56 chore: refactor (#2875) 2 years ago
dahaihu 95d7c73409 fix Replacer suffix match, and add test case (#2867)
* fix: replace shoud replace the longest match

* feat: revert bytes.Buffer to strings.Builder

* fix: loop reset nextStart

* feat: add node longest match test

* feat: add replacer suffix match test case

* feat: multiple match

* fix: partial match ends

* fix: replace look back upon error

* feat: rm unnecessary branch

---------

Co-authored-by: hudahai <hscxrzs@gmail.com>
Co-authored-by: hushichang <hushichang@sensetime.com>
2 years ago
Kevin Wan 939ef2a181 chore: add more tests (#2873) 2 years ago
Kevin Wan f0b8dd45fe fix: test failure (#2874) 2 years ago
Mikael 0ba9335b04 only unmashal public variables (#2872)
* only unmashal public variables

* only unmashal public variables

* only unmashal public variables

* only unmashal public variables
2 years ago
Kevin Wan 04f181f0b4 chore: add more tests (#2866)
* chore: add more tests

* chore: add more tests

* chore: fix test failure
2 years ago
hudahai 89f841c126 fix: loop reset nextStart 2 years ago
hudahai d785c8c377 feat: revert bytes.Buffer to strings.Builder 2 years ago
hudahai 687a1d15da fix: replace shoud replace the longest match 2 years ago
Kevin Wan aaa974e1ad Update readme-cn.md 2 years ago
Kevin Wan 2779568ccf fix: conf anonymous overlay problem (#2847) 2 years ago
Kevin Wan f7d50ae626 Update readme-cn.md 2 years ago
Kevin Wan 33594ea350 Chore/rewire (#2836)
* fix: problem on name overlaping in config (#2820)

* chore: fix missing funcs on windows (#2825)

* chore: add more tests (#2812)

* chore: add more tests

* chore: add more tests

* chore: add more tests (#2814)

* chore: add more tests (#2815)

* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests

* feat: upgrade go to v1.18 (#2817)

* feat: upgrade go to v1.18

* feat: upgrade go to v1.18

* chore: change interface{} to any (#2818)

* chore: change interface{} to any

* chore: update goctl version to 1.5.0

* chore: update goctl deps

* chore: update goctl interface{} to any (#2819)

* chore: update goctl interface{} to any

* chore: update goctl interface{} to any

* chore(deps): bump google.golang.org/grpc from 1.52.0 to 1.52.3 (#2823)

* support custom maxBytes in API file (#2822)

* feat: mapreduce generic version (#2827)

* feat: mapreduce generic version

* fix: gateway mr type issue

---------

Co-authored-by: kevin.wan <kevin.wan@yijinin.com>

* feat: add MustNewRedis (#2824)

* feat: add MustNewRedis

* feat: add MustNewRedis

* feat: add MustNewRedis

* x

* x

* fix ut

* x

* x

* x

* x

* x

* chore: improve codecov (#2828)

* feat: converge grpc interceptor processing (#2830)

* feat: converge grpc interceptor processing

* x

* x

* chore(deps): bump go.opentelemetry.io/otel/exporters/zipkin (#2831)

* chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp (#2833)

Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://github.com/open-telemetry/opentelemetry-go) from 1.11.2 to 1.12.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.11.2...v1.12.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump go.opentelemetry.io/otel/exporters/jaeger (#2832)

Bumps [go.opentelemetry.io/otel/exporters/jaeger](https://github.com/open-telemetry/opentelemetry-go) from 1.11.2 to 1.12.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.11.2...v1.12.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/jaeger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Xiaoju Jiang <44432198+jiang4869@users.noreply.github.com>
Co-authored-by: kevin.wan <kevin.wan@yijinin.com>
Co-authored-by: MarkJoyMa <64180138+MarkJoyMa@users.noreply.github.com>
2 years ago
MarkJoyMa ee2ec974c4 feat: converge grpc interceptor processing (#2830)
* feat: converge grpc interceptor processing

* x

* x
2 years ago
Kevin Wan fd2f2f0f54 chore: improve codecov (#2828) 2 years ago
MarkJoyMa 86a2429d7d feat: add MustNewRedis (#2824)
* feat: add MustNewRedis

* feat: add MustNewRedis

* feat: add MustNewRedis

* x

* x

* fix ut

* x

* x

* x

* x

* x
2 years ago
Xiaoju Jiang e5fe5dcc50 support custom maxBytes in API file (#2822) 2 years ago
Kevin Wan b510e7c242 chore: fix missing funcs on windows (#2825) 2 years ago
Kevin Wan dfe92e709f fix: problem on name overlaping in config (#2820) 2 years ago
Kevin Wan cb649cf627 chore: add more tests (#2815)
* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests
2 years ago
Kevin Wan ce19a5ade6 chore: add more tests (#2814) 2 years ago
Kevin Wan 6dc56de714 chore: add more tests (#2812)
* chore: add more tests

* chore: add more tests
2 years ago
Kevin Wan f3369f8e81
chore: update goctl version to 1.4.4 (#2811) 2 years ago
Kevin Wan c9b05ae07e
fix: mapping optional dep not canonicaled (#2807) 2 years ago
Kevin Wan 32a59dbc27
chore: refactor func name (#2804)
* chore: refactor func name

* chore: make plain log clearer
2 years ago
Kevin Wan ba0dff2d61
chore: add more tests (#2803)
* chore: add more tests

* chore: add more tests
2 years ago
Kevin Wan 10da5e0424
chore: add more tests (#2801) 2 years ago
Kevin Wan 4bed34090f
chore: add more tests (#2800) 2 years ago
Kevin Wan 2bfecf9354
chore: remove mgo related packages (#2799) 2 years ago
Kevin Wan 6d129e0264
chore: add more tests (#2797)
* chore: add more tests

* chore: add more tests

* chore: add more tests
2 years ago
foliet a2df1bb164
fix: modify the generated update function and add return values for update and delete functions (#2793) 2 years ago
Kevin Wan 5f02e623f5
chore: add more tests (#2795)
* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests
2 years ago
Kevin Wan 963b52fb1b
chore: add more tests (#2794) 2 years ago
Kevin Wan 02265d0bfe
chore: add more tests (#2792)
* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests
2 years ago
Kevin Wan 2e57e91826
Update readme-cn.md 2 years ago
Ofey Chan 82c642d3f4
feat: expose NewTimingWheelWithClock (#2787) 2 years ago
Kevin Wan b2571883ca
chore: refactor (#2785)
* chore: refactor

* chore: refactor
2 years ago
Alonexy 00ff50c2cc
add zset withsocre float (#2689)
* add zset withsocre float

* update

* add IncrbyFloat,HincrbyFloat

Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
Kevin Wan 4d7fa08b0b
feat: support **struct in mapping (#2784)
* feat: support **struct in mapping

* chore: fix test failure
2 years ago
Kevin Wan 367afb544c
feat: support ptr of ptr of ... in mapping (#2779)
* feat: support ptr of ptr of ... in mapping

* feat: support ptr of ptr of time.Duration in mapping

* feat: support ptr of ptr of json.Number in mapping

* chore: improve setting in mapping

* feat: support ptr of ptr encoding.TextUnmarshaler in mapping

* chore: add more tests

* fix: string ptr

* chore: update tests
2 years ago
cong 43b8c7f641
chore(trace): improve rest tracinghandler (#2783) 2 years ago
dependabot[bot] a2dcb0079a
chore(deps): bump github.com/jhump/protoreflect from 1.14.0 to 1.14.1 (#2782) 2 years ago
cong f9619328f2
refactor(rest): use static config for trace ignore paths. (#2773) 2 years ago