anqiansong
4624390e54
Fix #1585 #1547 ( #1624 )
3 years ago
anqiansong
68a81fea8a
Fix #1609 ( #1617 )
3 years ago
Kevin Wan
3b7ca86e4f
chore: add unit tests ( #1615 )
...
* test: add more tests
* test: add more tests
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
Kevin Wan
a40254156f
refactor: refactor yaml unmarshaler ( #1517 )
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
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
anqiansong
b8ea16a88e
feat: Add --remote ( #1387 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong
0cb86c6990
reset link goctl ( #1232 )
3 years ago
Kevin Wan
f8367856e8
chore: refine code ( #1215 )
3 years ago
anqiansong
bef5bd4e4f
fix the package name of grpc client ( #1170 )
...
* fix the package name of grpc client
* Remove k8s/utils
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
Kevin Wan
ed15ca04f4
fix: opentelemetry traceid not correct ( #1108 )
3 years ago
小小小下
295ec27e1b
feat: reflection grpc service ( #1107 )
...
* feat: reflection grpc service
* feat: reflection grpc service
3 years ago
Kevin Wan
65905b914d
ci: add reviewdog ( #1096 )
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
2e12cd2c99
coding style ( #1083 )
3 years ago
anqiansong
e8a340c1c0
Create a symbol link file named protoc-gen-goctl from goctl ( #1076 )
3 years ago
anqiansong
9a724fe907
Add MustTempDir ( #1069 )
3 years ago
Kevin Wan
0b6bc69afa
reorg imports, format code ( #1024 )
3 years ago
anqiansong
ded22e296e
revert changes
3 years ago
anqiansong
f0ed2370a3
fix #1014 ( #1018 )
...
* fix #1014
* remove unused code
* * optimize generate pb.go on Windows
* format code
* optimize console.go
* version rollback
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
anqiansong
84d2b64e7c
optimize unit test ( #999 )
3 years ago
Kevin Wan
519db812b4
format coding style ( #969 )
3 years ago
anqiansong
3203f8e06b
Fix issues ( #965 )
3 years ago
Kevin Wan
9c1ee50497
refactor ( #920 )
3 years ago
anqiansong
14ec29991c
fix #915 ( #917 )
3 years ago
anqiansong
dc43430812
optimize grpc generation env check ( #900 )
...
* optimize grpc generation env check
* optimize grpc generation env check
* format code
* fix postgresql data type convert error
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
_ksco
cc264dcf55
refactor ( #878 )
...
* refactor(tools ): refactor cod
Improve code readability and performance
* fix(tools ): fix len bug
Co-authored-by: ksco <hyang@33.cn>
3 years ago
neosu
16cc990fdd
fix context missing ( #872 )
...
Co-authored-by: suzhenpeng <suzhenpeng@ecoplants.tech>
3 years ago
neosu
00061c2e5b
add goctl rpc template home flag ( #871 )
...
Co-authored-by: suzhenpeng <suzhenpeng@ecoplants.tech>
3 years ago
anqiansong
c8428a7f65
fix issue #861 ( #862 )
...
* fix issue #861
* fix issue #861
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
anqiansong
9f4a882a1b
fix issue #831 ( #850 )
...
* fix issue #831
* fix typo
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
3 years ago
neosu
e481b63b21
Fix the error stream method name ( #826 )
3 years ago
Kevin Wan
e47079f0f4
go format with extra rules ( #821 )
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
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
Bo-Yi Wu
73906f996d
chore(format): change by gofumpt tool ( #697 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
4 years ago
anqiansong
9f6a574f97
resolve #610 ( #684 )
4 years ago
Bo-Yi Wu
afd9ff889e
chore: update code format. ( #628 )
4 years ago
anqiansong
dd393351cc
patch 1.1.5 ( #530 )
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
Kevin Wan
54414db91d
fix golint issues, exported doc ( #451 )
4 years ago
FengZhang
a926cb514f
modify the goctl gensvc template ( #323 )
4 years ago
songmeizi
b56cc8e459
optimize test case of TestRpcGenerate ( #279 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago