Kevin Wan
e4a1b7bb39
chore: format the code ( #3243 )
1 year ago
lchjczw
9fa98c2bd3
api imports take the form of relative paths ( #3201 )
...
Co-authored-by: 李春华 <lichunhua@threesoft.cn>
1 year ago
ALMAS
774e8d1d08
feat: replaced color package to support Windows ( #3207 )
2 years ago
Kevin Wan
03fe036204
chore: reformat code ( #2903 )
2 years ago
anqiansong
03d073a884
feat: Add request.ts ( #2901 )
...
* Add request.ts
* Update comments
* Refactor request filename
2 years ago
Kevin Wan
ec7ac43948
chore: reorg imports ( #2745 )
...
* chore: reorg imports
* chore: format code
2 years ago
foliet
799c118d95
feat(goctl): better generate the api code of typescript ( #2483 )
2 years ago
bensonfx
e7acadb15d
fix #2435 ( #2442 )
...
* feat: add color to debug (#2433 )
* fix header and path type ts gen
Co-authored-by: chen quan <chenquan.dev@gmail.com>
2 years ago
过客龙门
3ae874d75d
fix ts tpl ( #1879 )
3 years ago
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
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
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
89ce5e492b
refactor file|path ( #1409 )
...
Co-authored-by: anqiansong <anqiansong@bytedance.com>
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
anqiansong
60c7edf8f8
fix spelling ( #551 )
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
5e969cbef0
fix golint issues, else blocks ( #457 )
4 years ago
kingxt
9cd2015661
fix inner type generate error ( #377 )
...
* fix point type bug
* optimized
* fix inner type error
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
kingxt
12e235efb0
optimized goctl format ( #336 )
...
* fix format
* refactor
* refactor
* optimized
* refactor
* refactor
* refactor
* add js path prefix
4 years ago
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>
4 years ago
miaogaolin
46995a4d7d
修改不能编辑代码注释 ( #92 )
...
* rename file and function name
* update comments of "code generate"
4 years ago
kevin
9e14820698
fix golint warnings
4 years ago
kevin
8745039877
move lang.Must into logx.Must to make sure output fatal message as json
4 years ago
kevin
89019a0b72
use fmt.Println instead of println
4 years ago
kevin
0a7e0cce77
update package reference
4 years ago
kim
121323b8c3
goctl added
4 years ago