Kevin Wan
a91c3907a8
feat: rename module from tal-tech to zeromicro ( #1413 )
3 years ago
anqiansong
b8ea16a88e
feat: Add --remote ( #1387 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
JiangYiJun
a67c118dcf
go-zero tools ,fix a func,api new can not choose style ( #1356 )
3 years ago
anqiansong
0b17e0e5d9
Feat goctl bug ( #1332 )
...
* Support goctl bug
* fix typo
* format code
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong
0cb86c6990
reset link goctl ( #1232 )
3 years ago
Kevin Wan
d3bfa16813
feat: exit with non-zero code on errors ( #1218 )
...
* feat: exit with non-zero code on errors
* chore: use const for code
3 years ago
晨曦中
539215d7df
goctl docker command add -version ( #1206 )
...
* feature(优化): 优化goctl
goctl docker 命令新增version参数,指定builder golang 版本
* feature(优化): 优化goctl
goctl docker 命令新增version参数,指定builder golang 版本
3 years ago
zeromake
9fd3f752d1
fix(goctl): repeat creation protoc-gen-goctl symlink ( #1162 )
3 years ago
Amor
41c980f00c
update goctl api ( #1052 )
...
* update goctl api
* add LoadTemplate
* update new api template
* update
3 years ago
anqiansong
e8a340c1c0
Create a symbol link file named protoc-gen-goctl from goctl ( #1076 )
3 years ago
Kevin Wan
e8376936d5
remove goctl config command ( #1035 )
3 years ago
Kevin Wan
0b6bc69afa
reorg imports, format code ( #1024 )
3 years ago
neosu
d8905b9e9e
add api template file ( #1003 )
3 years ago
Kevin Wan
10805577f5
reorg imports, format code ( #1000 )
3 years ago
anqiansong
8829c31c0d
Feature goctl error wrap ( #995 )
...
* Add `Wrap` in file errorx.go
* Wrap error with `GoctlError`
* format code
* Refactor package `env` to `version`
* Refactor package `IsVersionGatherThan`
* fix typo
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong
3203f8e06b
Fix issues ( #965 )
3 years ago
anqiansong
189721da16
Fix issues ( #931 )
...
* fix #929
* fix #925
* add test case
* update model README
* fix #929
* fix #929
* fix #929
* refactor dir
* Adding todo comments
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
Kevin Wan
f7f3730e1a
update goctl version to 1.1.10 ( #874 )
3 years ago
neosu
00061c2e5b
add goctl rpc template home flag ( #871 )
...
Co-authored-by: suzhenpeng <suzhenpeng@ecoplants.tech>
3 years ago
Kevin Wan
6793f7a1de
fix bug that proc.SetTimeToForceQuit not working in windows ( #869 )
3 years ago
toutou_o
a5e1d0d0dc
add correct example for pg's url ( #857 )
3 years ago
anqiansong
8270c7deed
optimize typo ( #855 )
3 years ago
anqiansong
9f4a882a1b
fix issue #831 ( #850 )
...
* fix issue #831
* fix typo
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
anqiansong
089cdaa75f
Feature model postgresql ( #842 )
...
* Support postgresql generate
* Update template Var
* Support to generate postgresql model
* Support to generate postgresql model
* Update template
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
fangjianwei
476026e393
Added database prefix of cache key. ( #835 )
3 years ago
anqiansong
efdf475da4
Add --go_opt flag to adapt to the version after 1.4.0 of protoc-gen-go ( #767 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
Kevin Wan
60450bab02
disable load & stat logs for goctl ( #773 )
3 years ago
Kevin Wan
73417f54db
update goctl version to 1.1.8 ( #696 )
4 years ago
anqiansong
dda7666097
Feature mongo gen ( #546 )
...
* add feature: mongo code generation
* upgrade version
* update doc
* format code
* update update.tpl of mysql
4 years ago
kingxt
e6ef1fca12
Code optimized ( #523 )
...
* optimized markdown generator
* optimized markdown generator
* optimized markdown generator
* add more comment
* add comment
* add comment
* add comments for rpc tool
* add comments for model tool
* add comments for model tool
* add comments for model tool
* add comments for config tool
* add comments for config tool
* add comments
* add comments
* add comments
* add comments
* add comment
* remove rpc main head info
* add comment
* optimized
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago
kingxt
f98c9246b2
Code optimized ( #493 )
4 years ago
kingxt
f14ab70035
Code optimized ( #474 )
...
* optimized markdown generator
* optimized markdown generator
* optimized markdown generator
* optimized markdown generator
4 years ago
Kevin Wan
ebec5aafab
use env if necessary in loading config ( #409 )
4 years ago
Kevin Wan
572b32729f
update goctl version to 1.1.3 ( #402 )
4 years ago
kingxt
4db20677f7
optimized ( #392 )
4 years ago
kingxt
ee19fb736b
feature: refactor api parse to g4 ( #365 )
...
* feature: refactor api parse to g4
* new g4 parser
* add CHANGE_LOG.MD
* refactor
* fix byte bug
* refactor
* optimized
* optimized
* revert
* update readme.md
* update readme.md
* update readme.md
* update readme.md
* remove no need
* fix java gen
* add upgrade
* resolve confilits
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago
Kevin Wan
2854ca03b4
update goctl version to 1.1.3 ( #364 )
4 years ago
Kevin Wan
acd48f0abb
optimize dockerfile generation ( #284 )
4 years ago
Kevin Wan
4d13dda605
add EXPOSE in dockerfile generation ( #281 )
4 years ago
Kevin Wan
c686c93fb5
fix dockerfile generation bug ( #277 )
4 years ago
Kevin Wan
da8f76e6bd
add category docker & kube ( #276 )
4 years ago
songmeizi
84ab11ac09
feature plugin custom flag ( #251 )
...
* support plugin custom flags
* add short name
* remove log
* remove log
4 years ago
kingxt
cecd4b1b75
goctl add plugin support ( #243 )
...
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* remove no need
* add plugin support
* rename
* rename
* add plugin support
* refactor
* update plugin
* refactor
* refactor
* refactor
* update plugin
* newline
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago
Kevin Wan
7a82cf80ce
support k8s deployment yaml generation ( #247 )
...
* simplify code, format makefile
* simplify code
* some optimize by kevwan and benying (#240 )
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
* optimization (#241 )
* optimize docker file generation, make docker build faster
* support k8s deployment yaml generation
Co-authored-by: benying <31179034+benyingY@users.noreply.github.com>
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
Co-authored-by: bittoy <bittoy@qq.com>
4 years ago
Keson
7a27fa50a1
update version ( #226 )
4 years ago
kingxt
b9ac51b6c3
feature: file namestyle ( #223 )
...
* add api filename style
* new feature: config.yaml
* optimize
* optimize logic generation
* check hanlder valid
* optimize
* reactor naming style
* optimize
* optimize test
* optimize gen middleware
* format
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
Co-authored-by: kim <xutao@xiaoheiban.cn>
4 years ago
Keson
24fb29a356
patch model&rpc ( #207 )
...
* change column to read from information_schema
* reactor generate mode from datasource
* reactor generate mode from datasource
* add primary key check logic
* resolve rebase conflicts
* add naming style
* add filename test case
* resolve rebase conflicts
* reactor test
* add test case
* change shell script to makefile
* update rpc new
* update gen_test.go
* format code
* format code
* update test
* generates alias
4 years ago
kingxt
ef4d4968d6
1. group support multi level folder 2. remove force flag ( #203 )
...
* add comment support
* add comment support
* 1. group support multi level folder
2. remove force flag
* bug fix
Co-authored-by: kim <xutao@xiaoheiban.cn>
4 years ago
kevin
95aa65efb9
add dockerfile generator
4 years ago
kingxt
7f6eceb5a3
add more test ( #189 )
...
* new test
* import bug when with quotation
* new test
* add test condition
* rpc template command use -o param
Co-authored-by: kim <xutao@xiaoheiban.cn>
4 years ago