Commit Graph

536 Commits (d4c9fd2aff2a76ba7c589a7a76fd7608470130ed)

Author SHA1 Message Date
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
re-dylan e50689beed
fix #2343 (#2349)
Co-authored-by: dylan.wang <dylan.wang@yijinin.com>
2 years ago
chen quan 4f6a900fd4
fix(goctl): fix the unit test bug of goctl (#2458) 2 years ago
bensonfx e7acadb15d
fix #2435 (#2442)
* feat: add color to debug (#2433)

* fix header and path type ts gen

Co-authored-by: chen quan <chenquan.dev@gmail.com>
2 years ago
Kevin Wan 1a6d7b3ef6
chore: gofumpt (#2439) 2 years ago
jesse.tang 1b344a8851
cleanup: deprecated field and func (#2416)
* cleanup: deprecated field and func

* fmt import order
2 years ago
MarkJoyMa 4c927624b0
fix goctl help message (#2414) 2 years ago
anqiansong 2cde970c9e
feat(goctl):Add ignore-columns flag (#2407)
* fix #2074,#2100

* format code

* fix #2397

* format code

* Support comma spliter

* format code
2 years ago
kevin 9138056c01 chore: update go-zero to v1.4.1 2 years ago
Kevin Wan 3e96994b7b
feat: support targetPort option in goctl kube (#2378) 2 years ago
anqiansong 9581e8445a
fix: issue #2359 (#2368)
* Revert changes

* Unrap nested structure for doc code generation

* Revert changes

* Remove useless code

* Remove useless code

* Format code
2 years ago
Kevin Wan d935c83a54
feat: support baggage propagation in httpc (#2375)
* feat: support baggage propagation in httpc

* chore: use go 1.16

* chore: use go 1.16

* chore: use go ^1.16

* chore: remove deprecated
2 years ago
anqiansong ce638d26d9
Hidden java (#2333) 2 years ago
Zlx 9d6c8f67f5
generates nested types in doc (#2201)
Co-authored-by: Link_Zhao <Link_Zhao@epam.com>
2 years ago
anqiansong f70805ee60
Add strict flag (#2248)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
yiGmMk fb6d7e2fd2
fix #2301,package conflict generated by ddl (#2307)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
anqiansong b9c97678bc
chore: Update readme (#2280)
* Update readme

* Update readme
2 years ago
fyyang 62abac0b7e
fix: unsignedTypeMap type error (#2246) 2 years ago
Kevin Wan d20d8324e7
fix: #2216 (#2235) 2 years ago
fisnone 685d14e662
fix:duplicate route check (#2154)
Co-authored-by: 黄志荣 <huangzhirong@shuinfo.com>
2 years ago
anqiansong f630bc735b
Update goctl version (#2178) 2 years ago
anqiansong ca3c687f1c
feat: Support for multiple rpc service generation and rpc grouping (#1972)
* Add group & compatible flag

* Add group & compatible flag

* Support for multiple rpc service generation and rpc grouping

* Support for multiple rpc service generation and rpc grouping

* Format code

* Format code

* Add comments

* Fix unit test

* Refactor function name

* Add example & Update grpc readme

* go mod tidy

* update mod

* update mod
2 years ago
anqiansong 1b51d0ce82
fix: fix #2102, #2108 (#2131)
* g4 code generation

* Update grammar

* g4 code generation

* fix #2108

* fix #2102

* Remove comments
2 years ago
anqiansong 9c448c64ef
Update api template (#2172) 2 years ago
杨圆建 bc85eaa9b1
fix: goctl genhandler duplicate rest/httpx & goctl genhandler template support custom import httpx package (#2152) 2 years ago
Kevin Wan 300b124e42
docs: update goctl readme (#2136) 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 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 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
taobig bfd0869ee2
remove legacy code (#2084) 2 years ago
taobig c92400ead2
fix 当表有唯一键时,update()的形参和实参不一致 (#2010) 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
Kevin Wan 38cd7b7df0
chore: remove lifecycle preStop because sh not exist in scratch (#2042) 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
anqiansong 9b6e4c440c
Add fig (#2008)
Co-authored-by: SH00414ml <sh00414ml@SH00414mldeMacBook-Pro.local>
2 years ago
Kevin Wan 9eea311a4d
feat: support build Dockerfile from current dir (#2021) 2 years ago
anqiansong c27e00b45c
feat: Replace mongo package with monc & mon (#2002)
* Replace mongo package with monc & mon

* Add terminal whitespace

* format code
2 years ago
swliao425 0f5d8c6be3
feat: add 'imagePullPolicy' parameter for 'goctl kube deploy' (#1996) 2 years ago
MarkJoyMa f2caf9237a
fix goctl api clone template fail (#1990) 2 years ago
Kevin Wan 2f0e4e3ebf
chore: update dependencies (#1985) 2 years ago