Commit Graph

582 Commits (0d5a68869dbc06db9fed6ed429a6b301e4b9f176)

Author SHA1 Message Date
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
chowyu12 ce1c02f4f9
Feat: ignorecolums add sort (#2648)
* add go-grpc_opt and go_opt for grpc new command

* feat: remove log when disable log

* feat: add sort

Co-authored-by: zhouyy <zhouyy@ickey.cn>
2 years ago
chowyu12 c4f8eca459
Feat update rootpkg (#2718)
* add go-grpc_opt and go_opt for grpc new command

* feat: remove log when disable log

* feat: remove repeat code

Co-authored-by: zhouyy <zhouyy@ickey.cn>
2 years ago
anqiansong 801f1adf71
Remove useless file (#2699) 2 years ago
anqiansong a49f9060c2
Add more test (#2692) 2 years ago
fyyang ebe28882eb
fix: Fix string.title (#2687)
* fix: unsignedTypeMap type error

* fix: string.Title

* style: string.Title test
2 years ago
Kevin Wan fdc57d07d7
fix: #2672 (#2681)
* fix: #2672

* chore: fix more cases

* chore: update deps

* chore: update deps

* chore: refactor

* chore: refactor

* chore: refactor
2 years ago
Kevin Wan 9f7f94b673
chore: upgrade dependencies (#2658) 2 years ago
bensonfx 0b3629b636
Fixes #2603 bump goctl cobra version to macos completion help bug (#2656)
Co-authored-by: Benson Yan <yanyong@axera-tech.com>
2 years ago
heyehang a644ec7edd
feature : responses whit context (#2637) 2 years ago
EinfachePhy 10fd9131a1
replace strings.Title to cases.Title (#2650) 2 years ago
chensy 20e659749a
fix: fix conflict with the import package name (#2610)
Co-authored-by: chenjieping <chenjieping@kezaihui.com>
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
骑着毛驴背单词 81831b60a9
fix(change model template file type): All model template variables ar… (#2573)
* fix(change model template file type): All model template variables are stored in tpl format files with the same name as the template generated using the template init command

* fix(change model template file type): All model template variables are stored in tpl format files with the same name as the template generated using the template init command

Co-authored-by: qilvge <qilvge@.qilvge.com>
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
王哈哈 dac3600b53
Modify comment syntax error (#2572) 2 years ago
anqiansong 3db64c7d47
fix(goctl): Fix #2561 (#2562)
* Fix #2561

* format code
2 years ago
foliet 07128213d6
chore: update "DO NOT EDIT" format (#2559)
* chore: update "DO NOT EDIT" format

* Update readme.md

* Update head.go
2 years ago
anqiansong 9504d30049
fix(goctl): fix redundant import (#2551) 2 years ago
chen quan 22bdf0bbd5
chore: adjust rpc comment format (#2501) 2 years ago
anqiansong 7c9ef3ca67
fix(goctl): Fix issues (#2543)
* fix #2541

* fix #2432

* Fix review comment

* foramt code

* foramt code
2 years ago
Gang Wu 36d3765c5c
Fix typo (#2531) 2 years ago
wuleiming2009 ea52fe2e0d
Fix the wrong key about FindOne in mongo of goctl. (#2523) 2 years ago
anqiansong 1b87f5e30d
Fix mongo insert tpl (#2512) 2 years ago
foliet 799c118d95
feat(goctl): better generate the api code of typescript (#2483) 2 years ago
cui fliter fc59aec2e7
fix a few function names on comments (#2496)
Signed-off-by: cui fliter <imcusg@gmail.com>

Signed-off-by: cui fliter <imcusg@gmail.com>
2 years ago
foliet b51339b69b
fix(mongo): fix file name generation errors (#2479)
Before this, no matter what style is used, lowercase file names without underscores will be generated.
2 years ago