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
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
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
89ce5e492b
refactor file|path ( #1409 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
2022-01-03 21:32:40 +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
Kevin Wan
65905b914d
ci: add reviewdog ( #1096 )
2021-09-29 13:09:20 +08:00
Bo-Yi Wu
afd9ff889e
chore: update code format. ( #628 )
2021-04-15 19:49:17 +08:00
anqiansong
888551627c
optimize code ( #579 )
...
* optimize code
* optimize returns & unit test
2021-03-27 17:33: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
Kevin Wan
5e969cbef0
fix golint issues, else blocks ( #457 )
2021-02-09 13:50:21 +08:00
Kevin Wan
9b0625bb83
fix golint issues ( #450 )
2021-02-08 17:08:40 +08:00
kingxt
4db20677f7
optimized ( #392 )
2021-01-15 11:36:37 +08:00
kingxt
9cd2015661
fix inner type generate error ( #377 )
...
* fix point type bug
* optimized
* fix inner type error
2021-01-13 11:54:53 +08:00
kingxt
cf3a1020b0
Java optimized ( #376 )
...
* optiimzed java gen
* optiimzed java gen
* fix
2021-01-12 14:14:49 +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
kingxt
12e235efb0
optimized goctl format ( #336 )
...
* fix format
* refactor
* refactor
* optimized
* refactor
* refactor
* refactor
* add js path prefix
2021-01-04 18:59:48 +08:00
kingxt
25cab2f273
Java ( #327 )
...
* add g4 file
* new define api by g4
* reactor parser to g4gen
* add syntax parser & test
* add syntax parser & test
* add syntax parser & test
* update g4 file
* add import parse & test
* ractor AT lexer
* panic with error
* revert AT
* update g4 file
* update g4 file
* update g4 file
* optimize parser
* update g4 file
* parse info
* optimized java generator
* revert
* optimize java generator
* update java generator
* update java generator
* update java generator
* update java generator
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2020-12-29 17:50:41 +08:00
kingxt
16bfb1b7be
refactor parser and remove deprecated code ( #204 )
...
* add comment support
* add comment support
* 1. group support multi level folder
2. remove force flag
* bug fix
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
Co-authored-by: kim <xutao@xiaoheiban.cn>
2020-11-13 23:01:19 +08:00
miaogaolin
46995a4d7d
修改不能编辑代码注释 ( #92 )
...
* rename file and function name
* update comments of "code generate"
2020-09-21 18:27:35 +08:00
kevin
8745039877
move lang.Must into logx.Must to make sure output fatal message as json
2020-08-14 15:08:06 +08:00
kevin
89019a0b72
use fmt.Println instead of println
2020-08-11 12:44:21 +08:00
kevin
0a7e0cce77
update package reference
2020-08-08 16:40:10 +08:00
kim
121323b8c3
goctl added
2020-07-29 17:12:04 +08:00