Commit Graph

1484 Commits (d70e73ec66a37a173b7fe9a01193bf85ddb555e0)
 

Author SHA1 Message Date
Kevin Wan d70e73ec66
chore: remove unimplemented gateway (#2139) 2 years ago
Kevin Wan 300b124e42
docs: update goctl readme (#2136) 2 years ago
Kevin Wan 3bad043413
chore: refactor (#2130) 2 years ago
Kevin Wan 23f34234d0
chore: add more tests (#2129) 2 years ago
虫子樱桃 d71b3c841f
feat:Add `Routes` method for server (#2125)
Co-authored-by: czyt <czyt@w.cn>
2 years ago
Kevin Wan 24787a946b
feat: support logx.WithFields (#2128) 2 years ago
Richard Yi 6e50c87dca
fix: generated sql query fields do not match template (#2004)
* Fix typo

* Match generated sql query fields with template
2 years ago
Kevin Wan e672b3f8e1
feat: add Wrap and Wrapf in errorx (#2126) 2 years ago
Kevin Wan 1c09db6d5d
chore: coding style (#2120) 2 years ago
LeeDF 96acf1f5a6
fix goctl rpc protoc strings.EqualFold Service.Name GoPackage (#2046) 2 years ago
Kevin Wan 97a171441d
chore: remove blank lines (#2117)
* chore: remove blank lines

* chore: refactor
2 years ago
虫子樱桃 725e6056e1
feat:`goctl model mongo ` add `easy` flag for easy declare. (#2073)
* fix:typo in readme.md

* feat:`goctl model mongo ` add `easy` flag to generate code with Auto generated CollectionName for easy declare.

* fix:`goctl api doc ` when referenced api file contains no route,will generate an empty markdown file.

* code: adjust code.

Co-authored-by: 虫子樱桃 <czyt@w.cn>
2 years ago
Kevin Wan 1410f7dc20
fix #2109 (#2116) 2 years ago
warrior 8afe68f3f1
refactor:remove duplicate codes (#2101)
Co-authored-by: 沈四胜 <sisheng.shen@71360.com>
2 years ago
dependabot[bot] 74c41e8c5e
chore(deps): bump go.opentelemetry.io/otel/exporters/jaeger (#2115)
Bumps [go.opentelemetry.io/otel/exporters/jaeger](https://github.com/open-telemetry/opentelemetry-go) from 1.7.0 to 1.8.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.7.0...v1.8.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>
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
Minghong Fang 48f7e01158
feat: add method to jsonx (#2049) 2 years ago
dependabot[bot] f6f6ee5c8c
chore(deps): bump go.opentelemetry.io/otel/exporters/zipkin (#2112)
Bumps [go.opentelemetry.io/otel/exporters/zipkin](https://github.com/open-telemetry/opentelemetry-go) from 1.7.0 to 1.8.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.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/zipkin
  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>
2 years ago
Kevin Wan b364c54940
chore: update goctl version to 1.3.9 (#2111) 2 years ago
Kevin Wan e0e3f97c7c
chore: refactor (#2087) 2 years ago
taobig 6a2d6786c6
remove legacy code (#2086) 2 years ago
Kevin Wan 18035bd4d4
chore: refactor (#2085) 2 years ago
家福 f3b8fef34f
fix: type matching supports string to int (#2038)
* fix: type matching supports string to int

* feat: type matching supports string to int

Co-authored-by: 程家福 <chengjiafu@uniontech.com>
2 years ago
givemeafish 6a4885ba64
fix concurrent map writes (#2079)
Co-authored-by: wero <wero@werodeMacBook-Pro.local>
2 years ago
Kevin Wan f2cef2b963
Update readme-cn.md 2 years ago
taobig bfd0869ee2
remove legacy code (#2084) 2 years ago
Kevin Wan 4e26e0407e
Update readme.md 2 years ago
wxc d200ba4a7b
feat: CompareAndSwapInt32 may be better than AddInt32 (#2077) 2 years ago
dependabot[bot] ce7e2a2a9a
chore(deps): bump github.com/pelletier/go-toml/v2 from 2.0.1 to 2.0.2 (#2072)
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/pelletier/go-toml/releases)
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml)
- [Commits](https://github.com/pelletier/go-toml/compare/v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
taobig c92400ead2
fix 当表有唯一键时,update()的形参和实参不一致 (#2010) 2 years ago
dependabot[bot] 0b109c1954
chore(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.1 to 4.4.2 (#2066)
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.4.1...v4.4.2)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot] d42979f705
chore(deps): bump github.com/stretchr/testify from 1.7.2 to 1.8.0 (#2068)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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>
2 years ago
dependabot[bot] 29d81381c1
chore(deps): bump github.com/alicebob/miniredis/v2 from 2.21.0 to 2.22.0 (#2067)
Bumps [github.com/alicebob/miniredis/v2](https://github.com/alicebob/miniredis) from 2.21.0 to 2.22.0.
- [Release notes](https://github.com/alicebob/miniredis/releases)
- [Changelog](https://github.com/alicebob/miniredis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/alicebob/miniredis/compare/v2.21.0...v2.22.0)

---
updated-dependencies:
- dependency-name: github.com/alicebob/miniredis/v2
  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>
2 years ago
dependabot[bot] 89f6c97097
chore(deps): bump github.com/ClickHouse/clickhouse-go/v2 (#2064)
Bumps [github.com/ClickHouse/clickhouse-go/v2](https://github.com/ClickHouse/clickhouse-go) from 2.0.15 to 2.2.0.
- [Release notes](https://github.com/ClickHouse/clickhouse-go/releases)
- [Commits](https://github.com/ClickHouse/clickhouse-go/compare/v2.0.15...v2.2.0)

---
updated-dependencies:
- dependency-name: github.com/ClickHouse/clickhouse-go/v2
  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>
2 years ago
Kevin Wan ff6f109065
Create dependabot.yml
add dependabot.
2 years ago
Zhang.Y 7da77302f4
fix: `\u003cnil\u003e` log output when http server shutdown. (#2055) 2 years ago
虫子樱桃 76086fc717
fix:typo in readme.md (#2061)
Co-authored-by: 虫子樱桃 <czyt@w.cn>
2 years ago
Kevin Wan 555c4ecd1a
fix: quickstart wrong package when go.mod exists in parent dir (#2048)
* chore: fix typo

* fix: quickstart in dir with go.mod

* fix: runner failed

* chore: refine code

* chore: simplify quickstart mono
2 years ago
lord63 630dfa0887
[ci skip] Fix dead doc link (#2047) 2 years ago
Kevin Wan 38cd7b7df0
chore: remove lifecycle preStop because sh not exist in scratch (#2042) 2 years ago
Kevin Wan 9148f8df2a
Update readme-cn.md 2 years ago
Kevin Wan 13f051d0e5
Update readme-cn.md 2 years ago
anqiansong 93b3f5030f
chore: Add command desc & color commands (#2013)
* Add link & Color sub-commands

* Color sub-commands for unix-like OS

* Remove useless code

* Remove redundant dependency
2 years ago
anqiansong b44e8f5c75
fix #1977 (#2034) 2 years ago
Kevin Wan b9eb03e9a9
Update readme.md 2 years ago
Kevin Wan 86b531406b
Update readme.md 2 years ago
Kevin Wan 47c49de94e
feat: rest.WithChain to replace builtin middlewares (#2033)
* feat: rest.WithChain to replace builtin middlewares

* chore: add comments

* chore: refine code
2 years ago
Kevin Wan 50f16e2892
Update readme-cn.md 2 years ago
Kevin Wan 018ca82048
chore: refactor to simplify disabling builtin middlewares (#2031)
* chore: refactor to simplify disabling builtin middlewares

* chore: rename methods
2 years ago
magickeha 6976ba7e13
add user middleware chain function (#1913)
* add user middleware chain function

* fix staticcheck SA4006

* chang code Implementation style

Co-authored-by: kemq1 <kemq1@spdb.com.cn>
2 years ago
anqiansong 9b6e4c440c
Add fig (#2008)
Co-authored-by: SH00414ml <sh00414ml@SH00414mldeMacBook-Pro.local>
2 years ago