李登富
ffacae89eb
fix:multipule flag client go package name ( #3104 )
...
Co-authored-by: lidengfu <lidengfu@excean.com>
2 years ago
anqiansong
7ca89a85ab
format code
2 years ago
anqiansong
4bc1b78a91
Fix #2879
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
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
Kevin Wan
faad6e27e3
feat: use go:embed to embed templates ( #1756 )
3 years ago
anqiansong
5c169f4f49
Remove debug log ( #1669 )
...
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
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
Kevin Wan
a91c3907a8
feat: rename module from tal-tech to zeromicro ( #1413 )
3 years ago
anqiansong
89ce5e492b
refactor file|path ( #1409 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan
6a8638fc85
chore: refine rpc template in goctl ( #1129 )
3 years ago
chenquan
d28cfe5f20
Add `opts ...grpc.CallOption` in grpc client ( #1122 )
...
* Add `opts ...grpc.CallOption` in grpc client
* Update format
* Update format
* Add import package
* Update format
3 years ago
shenbaise9527
f34d81ca2c
chore: when run goctl-rpc, the order of proto message aliases should be ( #1078 )
...
fixed
Co-authored-by: steven <steven.zhou@1quant.com>
3 years ago
Kevin Wan
9c1ee50497
refactor ( #920 )
3 years ago
anqiansong
14ec29991c
fix #915 ( #917 )
3 years ago
neosu
e481b63b21
Fix the error stream method name ( #826 )
3 years ago
anqiansong
db87fd3239
To generate grpc stream, fix issue #616 ( #815 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
Chen Quan
b0e335e7b0
Fix rpc generator bug ( #799 )
...
* Fix rpc自动生成generate bug
* Delete mock
3 years ago
Bo-Yi Wu
afd9ff889e
chore: update code format. ( #628 )
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
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
Keson
856b5aadb1
rpc generation fix ( #184 )
...
* reactor alert
* optimize
* add test case
* update the target directory in case proto contains option
* fix missing comments and format code
4 years ago
Keson
f7d778e0ed
fix duplicate alias ( #183 )
4 years ago
Keson
e76f44a35b
reactor rpc ( #179 )
...
* reactor rpc generation
* update flag
* update command
* update command
* update unit test
* delete test file
* optimize code
* update doc
* update gen pb
* rename target dir
* update mysql data type convert rule
* add done flag
* optimize req/reply parameter
* optimize req/reply parameter
* remove waste code
* remove duplicate parameter
* format code
* format code
* optimize naming
* reactor rpcv2 to rpc
* remove new line
* format code
* rename underline to snake
* reactor getParentPackage
* remove debug log
* reactor background
4 years ago