Commit Graph

14 Commits (2684a157ff92120faf85e88f20678e0a75e07671)

Author SHA1 Message Date
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 52f060caae
feat: Add goctl quickstart (#1889)
* Add goctl quickstart

* Format code

* Format code
3 years ago
anqiansong 5383e29ce6
feat: Replace cli to cobra (#1855)
* Replace cli

* Replace cli

* Replace cli

* Format code

* Add compare case

* Add compare case

* Add compare case

* Support go style flag

* Support go style flag

* Add test case
3 years ago
fang duan 97bf3856c1
show help when running goctl rpc protoc without any flags (#1683) 3 years ago
anqiansong 7e0b0ab0b1
Fix zrpc code generation error with --remote (#1739)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong 0aeb49a6b0
Add verbose flag (#1696)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong 227104d7d7
feat: Remove command `goctl rpc proto` (#1665)
* Fix goctl completion expression

* Fix code generation error if the pkg of pb/grpc is same to zrpc call client pkg

* Remove deprecated comment on action goctl rpc new

* Remove zrpc code generation on action goctl rpc proto

* Remove zrpc code generation on action goctl rpc proto

* Remove Generator interface

Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong 448029aa4b
Mkdir if not exists (#1659)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong 4624390e54
Fix #1585 #1547 (#1624) 3 years ago
anqiansong 68a81fea8a
Fix #1609 (#1617) 3 years ago
Kevin Wan e0454138e0
update goctl to go 1.16 for io/fs usage (#1571)
* update goctl to go 1.16 for io/fs usage

* 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>

* chore: format code

Co-authored-by: toutou_o <33993460+kurimi1@users.noreply.github.com>
Co-authored-by: kurimi1 <d0n41df@gmail.com>
3 years ago
anqiansong 77482c8946
fixes typo (#1511)
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