Commit Graph

24 Commits (0c6eaeda9ff5ede223c1ac4ed0160433abfd8294)

Author SHA1 Message Date
Kevin Wan faad6e27e3
feat: use go:embed to embed templates (#1756) 3 years ago
Kevin Wan 4b7a680ac5
refactor: rename from tal-tech to zeromicro for goctl (#1481) 3 years ago
Kevin Wan e267d94ee1
chore: update go-zero to v1.2.5 (#1410) 3 years ago
anqiansong 89ce5e492b
refactor file|path (#1409)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan 00c5734021
format coding style (#905) 3 years ago
lovelly 33f87cf1f0
带下划线的项目,配置文件名字错误。 (#733) 3 years ago
kingxt 546fcd8bab
fix #736 (#738)
* optimize performance

* rename

* rename

* revert
4 years ago
kingxt f98c9246b2
Code optimized (#493) 4 years ago
Kevin Wan 8774d72ddb
remove duplicated code in goctl (#369) 4 years ago
kingxt b9ac51b6c3
feature: file namestyle (#223)
* add api filename style

* new feature: config.yaml

* optimize

* optimize logic generation

* check hanlder valid

* optimize

* reactor naming style

* optimize

* optimize test

* optimize gen middleware

* format

Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
Co-authored-by: kim <xutao@xiaoheiban.cn>
4 years ago
kingxt 12327fa07d
break generator when happen error (#192)
Co-authored-by: kim <xutao@xiaoheiban.cn>
4 years ago
kevin dfe6e88529 use goctl template to generate all kinds of templates 4 years ago
kevin f904710811 support api templates 4 years ago
kingxt 05df86436f
optimized api new with absolute path like: goctl api new $PWD/xxxx (#67)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* optimized api new with absolute path like: goctl api new $PWD/xxxx

* optimized api new with absolute path like: goctl api new $PWD/xxxx

* optimized api new with absolute path like: goctl api new $PWD/xxxx

* optimized api new with absolute path like: goctl api new $PWD/xxxx

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kevin a987d12237 sort imports on api generation 4 years ago
kevin 1c24e71568 use yaml, and detect go.mod in current dir 4 years ago
kevin ba636187ce fix goctl path issue on windows 4 years ago
kevin 3b5b8283db update goctl go generator 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kim b1e8dd62da add runner 4 years ago
kim cf8e0a118f refactor ngin to rest 4 years ago
kevin f372ded63c rename ngin to rest 4 years ago
kevin 0897f60c5d rename ngin to rest 4 years ago
kim 121323b8c3 goctl added 4 years ago