Kevin Wan
66f10bb5e6
chore: add goctl command help ( #1578 )
3 years ago
toutou_o
3b07ed1b97
feat: support pg serial type for auto_increment ( #1563 )
...
* add correct example for pg's url
* 🐞 fix: merge
* 🐞 fix: pg default port
* ✨ feat: support serial type
Co-authored-by: kurimi1 <d0n41df@gmail.com>
3 years ago
anqiansong
daa98f5a27
Feature: Add goctl env ( #1557 )
3 years ago
Kevin Wan
bd105474ca
chore: update help message ( #1544 )
3 years ago
Mikael
a078f5d764
add the serviceAccount of deployment ( #1543 )
...
Co-authored-by: 977231903@qq.com <>
3 years ago
anqiansong
8bd89a297a
feature: Add `goctl completion` ( #1505 )
...
* feature: Add `goctl completion`
* Update const
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong
b1ffc464cd
fix typo: goctl protoc usage ( #1502 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong
696fda1db4
patch: goctl migrate ( #1485 )
...
* * Add signal check
* Add deprecated pkg check
* fix typo `replacementBuilderx`
* output to console if verbose
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan
4b7a680ac5
refactor: rename from tal-tech to zeromicro for goctl ( #1481 )
3 years ago
anqiansong
9b592b3dee
Feature rpc protoc ( #1251 )
...
* code generation by protoc
* generate pb by protoc direct
* support: grpc code generation by protoc directly
* format code
* check --go_out & --go-grpc_out
* fix typo
* Update version
* fix typo
* optimize: remove deprecated unit test
* format code
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong
9d67fc4cfb
feat: Add migrate ( #1419 )
...
* Add migrate
* Remove unused module
* refactor filename
* rename refactor to migrate
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
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