Commit Graph

706 Commits (708ad207d7fd23c58df81021831c3e941733089e)

Author SHA1 Message Date
dependabot[bot] af022b9655
chore(deps): bump google.golang.org/grpc from 1.58.1 to 1.58.2 in /tools/goctl (#3584) 1 year ago
dependabot[bot] b22ad50d59
chore(deps): bump google.golang.org/grpc from 1.58.0 to 1.58.1 in /tools/goctl (#3568)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] 8d83986d27
chore(deps): bump google.golang.org/grpc from 1.57.0 to 1.58.0 in /tools/goctl (#3546) 1 year ago
dependabot[bot] fd3abf3717
chore(deps): bump golang.org/x/text from 0.12.0 to 0.13.0 in /tools/goctl (#3542)
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>
1 year ago
POABOB 33f6d7ebb8
fix: goctl pg gen will extract all fields when the same table name exists in different schemas (#3496) (#3517) 1 year ago
kesonan c4ef9ceb68
Add api version (#3536) 1 year ago
Kevin Wan d2a874f21d
chore: upgrade go-zero, and update goctl version (#3509) 1 year ago
Kevin Wan 14fcbd7658
fix #3499 (#3508) 1 year ago
dependabot[bot] ed75802eaa
chore(deps): bump golang.org/x/text from 0.11.0 to 0.12.0 in /tools/goctl (#3477)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
guangwu a9f4aab86b
fix: "EXPRIMENTAL" is a misspelling of "EXPERIMENTAL" (#3462) 1 year ago
dependabot[bot] 63df384a4b
chore(deps): bump google.golang.org/grpc from 1.56.2 to 1.57.0 in /tools/goctl (#3446)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] 05ec16ae9d
chore(deps): bump github.com/gookit/color from 1.5.3 to 1.5.4 in /tools/goctl (#3433)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] 13e685e0db
chore(deps): bump github.com/emicklei/proto from 1.12.0 to 1.12.1 in /tools/goctl (#3431)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] c10f44b74e
chore(deps): bump github.com/emicklei/proto from 1.11.2 to 1.12.0 in /tools/goctl (#3429) 1 year ago
Kevin Wan 57644420ed
chore: update go-zero for goctl (#3426) 1 year ago
dependabot[bot] c26ea17669
chore(deps): bump github.com/iancoleman/strcase from 0.2.0 to 0.3.0 in /tools/goctl (#3424) 1 year ago
guangwu e8c1e6e09b
fix: log format error (#3409) 1 year ago
guangwu f1171e01f2
chore: slice replace loop (#3410) 1 year ago
dependabot[bot] 3170afd57b
chore(deps): bump google.golang.org/grpc from 1.56.1 to 1.56.2 in /tools/goctl (#3403)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] f76c70ea9a
chore(deps): bump golang.org/x/text from 0.10.0 to 0.11.0 in /tools/goctl (#3397)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot] f296c182f7
chore(deps): bump google.golang.org/protobuf from 1.30.0 to 1.31.0 in /tools/goctl (#3377)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Kevin Wan 92e5819e91
opt: improve logx performance (#3371) 1 year ago
2822132073 8d23ab158b
fix In `goctl new api`, occur error `invalid character 'A' looking for beginning of value` (#3357) 1 year ago
唐小鸭 bcccfab824
[fix] The directory is not recognized when it is in a soft link (#3337) 1 year ago
dependabot[bot] 7c2d8e5cc2
chore(deps): bump google.golang.org/grpc from 1.56.0 to 1.56.1 in /tools/goctl (#3369) 1 year ago
Kevin Wan 2a33b74b35
chore: coding style (#3362) 1 year ago
anqiansong 45bb547a81
(goctl)fix: #3328 (#3348)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
1 year ago
Mikael f5f5261556
add whether to generate rpc client option (#3361)
Co-authored-by: admin <admin@admindeMacBook-Pro.local>
1 year ago
dependabot[bot] 018fa8e0a0
chore(deps): bump google.golang.org/grpc from 1.55.0 to 1.56.0 in /tools/goctl (#3355) 1 year ago
dependabot[bot] 9c32bf8478
chore(deps): bump github.com/zeromicro/ddl-parser from 1.0.4 to 1.0.5 in /tools/goctl (#3350) 1 year ago
dependabot[bot] 4b2a6ba3de
chore(deps): bump golang.org/x/text from 0.9.0 to 0.10.0 in /tools/goctl (#3342) 1 year ago
elza 4a29a0b642
fix: fixed goctl api go --home parameter error when loading non-exist… (#3319)
Co-authored-by: yuanyou <yuanyou@kezaihui.com>
1 year ago
Kevin Wan 50e29e2075
chore: update go-zero for goctl (#3316) 2 years ago
dependabot[bot] e479e47634
chore(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 in /tools/goctl (#3306)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
me-cs 0217044900
update:Use the Milliseconds method of duration to get the number of milliseconds (#3285)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
guangwu 76a7a17e57
typo (#3281) 2 years ago
anqiansong 3ca40001b4
feat(goctl): Add with session for model tpl (#3272) 2 years ago
dependabot[bot] 0f4973be06
chore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 in /tools/goctl (#3268) 2 years ago
guangwu f0bdfb928f
fix call error func (#3245) 2 years ago
Kevin Wan e4a1b7bb39
chore: format the code (#3243) 2 years ago
lchjczw 9fa98c2bd3
api imports take the form of relative paths (#3201)
Co-authored-by: 李春华 <lichunhua@threesoft.cn>
2 years ago
Thirteen ef410e8083
fix: generate client directory for goctl (#3166) 2 years ago
fondoger c22bc1c8ea
[dart-gen] Fix lists containing atomic types (#3210) 2 years ago
guangwu 63368d8b0c
io/ioutil deprecated (#3217) 2 years ago
dependabot[bot] e6518521eb
chore(deps): bump google.golang.org/grpc from 1.54.0 to 1.55.0 in /tools/goctl (#3209)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
ALMAS 774e8d1d08
feat: replaced color package to support Windows (#3207) 2 years ago
dependabot[bot] f93e752f98
chore(deps): bump github.com/emicklei/proto from 1.11.1 to 1.11.2 in /tools/goctl (#3199)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
fondoger 3a66fc038f
[dart-gen] Fix nullable list item issue (#3192) 2 years ago
guonaihong 1fd0c3992b
fix panic (#3176) 2 years ago
chensy c0f8a58ed7
no \t to space line (#3177)
Co-authored-by: chenjieping <chenjieping@kezaihui.com>
2 years ago
dependabot[bot] f51e9f0ea7
chore(deps): bump github.com/go-sql-driver/mysql from 1.7.0 to 1.7.1 in /tools/goctl (#3175)
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 8c9b619199
chore: update go-zero for goctl (#3165) 2 years ago
fondoger 078825b4eb
[dart-gen] Support Null-safe and omitempty json tag (#3134) 2 years ago
LiKe 8fa0bd1f1c
fix(goctl): test field (#3114) 2 years ago
anqiansong 73664b92f0
fix(goctl): missing rpc --style flag (#3112) 2 years ago
Kevin Wan 8d9c2fa22a
chore: update go-zero version in goctl (#3109) 2 years ago
lchjczw 189e9bd9da
Fix the problem of package name for generated kt code. (#3082)
Co-authored-by: 李春华 <lichunhua@threesoft.cn>
2 years ago
李登富 ffacae89eb
fix:multipule flag client go package name (#3104)
Co-authored-by: lidengfu <lidengfu@excean.com>
2 years ago
dependabot[bot] 92f2676afc
chore(deps): bump golang.org/x/text from 0.8.0 to 0.9.0 in /tools/goctl (#3101) 2 years ago
dependabot[bot] 38a97d4531
chore(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0 in /tools/goctl (#3098)
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 ee555a85da
chore: coding style (#3080) 2 years ago
anqiansong 1904af2323
feat(goctl): Support gateway sample generation (#3049) 2 years ago
Kevin Wan 9065eb90d9
chore: coding style (#3074) 2 years ago
anqiansong 50bc361430
feat(goctl): Add api parser (#2585) 2 years ago
dependabot[bot] 992a56e90b
chore(deps): bump google.golang.org/grpc from 1.53.0 to 1.54.0 in /tools/goctl (#3061)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Snake a561048d59
Fix bug: replace int and float with num type in dart (#3042)
Co-authored-by: zhoumingji <zhoumingji@cmsr.chinamobile.com>
2 years ago
dependabot[bot] 7a647ca40c
chore(deps): bump google.golang.org/protobuf from 1.29.1 to 1.30.0 in /tools/goctl (#3037)
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] a78d57bebd
chore(deps): bump google.golang.org/protobuf from 1.28.2-0.20220831092852-f930b1dc76e8 to 1.29.1 in /tools/goctl (#3029)
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] 74452eb7b5
chore(deps): bump golang.org/x/text from 0.7.0 to 0.8.0 in /tools/goctl (#3028)
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] b61e364458
chore(deps): bump github.com/zeromicro/go-zero from 1.4.4 to 1.5.0 in /tools/goctl (#3023) 2 years ago
Kevin Wan f77e2c9cfa
chore: add more tests (#3014) 2 years ago
Kevin Wan 3a493cd6a6
chore: add more tests (#3006) 2 years ago
taobig 37cb00d789
Export cache.Option param to NewXXXModel() (#2995) 2 years ago
Snake e136deb3a7
Update goclt dart gen: Add scheme config and content-type header (#2987)
Co-authored-by: zhoumingji <zhoumingji@cmsr.chinamobile.com>
2 years ago
zhoumingji ba71964b16 Fix bug in dartgen: The property 'isEmpty' can't be unconditionally accessed because the receiver can be 'null' 2 years ago
zhoumingji 97ada59175 Fix bug in dartgen: Increase the processing logic when route.RequestType is empty 2 years ago
cui fliter b41ccc5992 fix functiom name
Signed-off-by: cui fliter <imcusg@gmail.com>
2 years ago
tanglihao a40d8b0684 fix code format style use const config.DefaultFormat 2 years ago
tanglihao cb39b5836f fix log name conflict 2 years ago
anqiansong 7ca89a85ab format code 2 years ago
anqiansong 0e040ec5b4 remove unused code 2 years ago
anqiansong 4bc1b78a91 Fix #2879 2 years ago
qiying.wang 148afcf1a7 chore: remove redundant prefix of "error: " in error creation 2 years ago
Kevin Wan 1cd1b17f70
fix: security #9 (#2949)
* fix: security #9

* fix: missing packages

* chore: update deps
2 years ago
kevin 2b08e0510c chore: go mod tidy and update deps 2 years ago
kevin afac48a8ea chore: go mod tidy and update deps 2 years ago
Kevin Wan 284331b7b1
fix: #2899, using autoscaling/v2beta2 instead of v2beta1 (#2900)
* fix: #2899, using autoscaling/v2 instead of v2beta1

* chore: change hpa definition

---------

Co-authored-by: kevin.wan <kevin.wan@yijinin.com>
2 years ago
strong 0fe84b225c
fix(goctl): unsupported database type: bpchar (#2840) 2 years ago
Kevin Wan 03fe036204
chore: reformat code (#2903) 2 years ago
anqiansong 03d073a884
feat: Add request.ts (#2901)
* Add request.ts

* Update comments

* Refactor request filename
2 years ago
fondoger 32e3116ee3 Fix bug in dart api gen: path parameter is not replaced 2 years ago
fondoger 5756627904
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
Xiaoju Jiang 413ee919e6
support custom maxBytes in API file (#2822) 2 years ago
Kevin Wan eab904af64
chore: update goctl interface{} to any (#2819)
* chore: update goctl interface{} to any

* chore: update goctl interface{} to any
2 years ago
Kevin Wan ae87114282
chore: change interface{} to any (#2818)
* chore: change interface{} to any

* chore: update goctl version to 1.5.0

* chore: update goctl deps
2 years ago
Kevin Wan f3369f8e81
chore: update goctl version to 1.4.4 (#2811) 2 years ago
foliet a2df1bb164
fix: modify the generated update function and add return values for update and delete functions (#2793) 2 years ago
chensy 8157e2118d
fix: replace goctl ExactValidArgs to MatchAll (#2759)
Co-authored-by: chenjieping <chenjieping@kezaihui.com>
2 years ago
Kevin Wan ec7ac43948
chore: reorg imports (#2745)
* chore: reorg imports

* chore: format code
2 years ago
Kevin Wan dd294e8cd6
fix: #2700, timeout not enough for writing responses (#2738)
* fix: #2700, timeout not enough for writing responses

* fix: test fail

* chore: add comments
2 years ago