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
2022-05-07 15:40:11 +08:00
Kevin Wan
cef83efd4e
fix #1838 ( #1839 )
2022-04-28 11:25:26 +08:00
anqiansong
305587aa81
fix: Fix issue #1810 ( #1811 )
...
* Fix #1810
* Remove go embed
* Format code
* Remove useless code
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-04-21 15:22:43 +08:00
Kevin Wan
faad6e27e3
feat: use go:embed to embed templates ( #1756 )
2022-04-04 13:12:05 +08:00
Ziyi Zhang
209ffb934b
fix(goctl): kotlin code generation ( #1632 )
...
Signed-off-by: Ziyi Zhang <soasurs@gmail.com>
2022-03-11 13:44:18 +08:00
Kevin Wan
a40254156f
refactor: refactor yaml unmarshaler ( #1517 )
2022-02-09 17:22:52 +08:00
Kevin Wan
4b7a680ac5
refactor: rename from tal-tech to zeromicro for goctl ( #1481 )
2022-01-25 23:15:07 +08:00
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>
2021-11-03 20:57:03 +08:00
Bo-Yi Wu
afd9ff889e
chore: update code format. ( #628 )
2021-04-15 19:49:17 +08:00
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>
2021-02-26 16:11:47 +08:00
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>
2021-01-11 15:10:51 +08:00
kevin
9e14820698
fix golint warnings
2020-08-19 16:00:55 +08:00
Steven Zack
1252bd9cde
goctl生成Kotlin代码优化 ( #16 )
...
* 修复Kotlin连接失败抛出Exception;添加Kotlin连接超时
* 修复路径参数导致生成的Kotlin函数名带有:问题
* Added HTTP Patch Method
* kotlin-add-patch-support
* format-imports
2020-08-18 21:49:31 +08:00
stevenzack
d4e38cb7f0
rename-Api
2020-08-17 16:54:56 +08:00
stevenzack
693a8b627a
fix-log-fatal
2020-08-17 16:54:56 +08:00
stevenzack
701208b6f4
fix FileNotFoundException when response code is 4xx or 5xx
2020-08-17 16:54:56 +08:00
stevenzack
b65fcc5512
fix-lang-must-not-found
2020-08-17 16:54:56 +08:00
stevenzack
3321ed3519
multi-http-method-support
2020-08-17 16:54:56 +08:00
stevenzack
5e007c1f9f
remove-logx
2020-08-17 16:54:56 +08:00
stevenzack
de2f8c06fb
fix-break-line
2020-08-17 16:54:56 +08:00
stevenzack
926d746df5
Add goctl kotlin support
2020-08-17 16:54:56 +08:00