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
Kevin Wan
cef83efd4e
fix #1838 ( #1839 )
3 years ago
anqiansong
305587aa81
fix: Fix issue #1810 ( #1811 )
...
* Fix #1810
* Remove go embed
* Format code
* Remove useless code
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan
faad6e27e3
feat: use go:embed to embed templates ( #1756 )
3 years ago
Ziyi Zhang
209ffb934b
fix(goctl): kotlin code generation ( #1632 )
...
Signed-off-by: Ziyi Zhang <soasurs@gmail.com>
3 years ago
Kevin Wan
a40254156f
refactor: refactor yaml unmarshaler ( #1517 )
3 years ago
Kevin Wan
4b7a680ac5
refactor: rename from tal-tech to zeromicro for goctl ( #1481 )
3 years ago
anqiansong
01786c5e63
Generate route with prefix ( #1200 )
...
* Generate route with prefix
* Update api convert
* Remove TrimSpace
* Update path join
* Format code
* Format code
Co-authored-by: anqiansong <anqiansong@bytedance.com>
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
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
9e14820698
fix golint warnings
4 years ago
Steven Zack
1252bd9cde
goctl生成Kotlin代码优化 ( #16 )
...
* 修复Kotlin连接失败抛出Exception;添加Kotlin连接超时
* 修复路径参数导致生成的Kotlin函数名带有:问题
* Added HTTP Patch Method
* kotlin-add-patch-support
* format-imports
4 years ago
stevenzack
d4e38cb7f0
rename-Api
4 years ago
stevenzack
693a8b627a
fix-log-fatal
4 years ago
stevenzack
701208b6f4
fix FileNotFoundException when response code is 4xx or 5xx
4 years ago
stevenzack
b65fcc5512
fix-lang-must-not-found
4 years ago
stevenzack
3321ed3519
multi-http-method-support
4 years ago
stevenzack
5e007c1f9f
remove-logx
4 years ago
stevenzack
de2f8c06fb
fix-break-line
4 years ago
stevenzack
926d746df5
Add goctl kotlin support
4 years ago