Commit Graph

23 Commits (deefc1a8eb55b27f0fe6bebbd98f68a97a9d8ad4)

Author SHA1 Message Date
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