Commit Graph

259 Commits (2684a157ff92120faf85e88f20678e0a75e07671)

Author SHA1 Message Date
kingxt 878fd14739
remove no need (#87)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* remove no need

* remove no need

* add jwt doc

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kevin 57299a7597 rename ngin to rest in goctl 4 years ago
Keson e6f8e0e8c3
optimize: api generating for idea plugin (#68)
* add flag: force to generate api

* add flag: force to generate api

* format api template

* Revert "format api template"
4 years ago
kingxt 598ff6d0fc
api support empty request or empty response (#72)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* api support empty request or empty response

* update readme

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
miaogaolin 9a57993e83
fix goctl api (#71) 4 years ago
kingxt ee45b0a459
optimize route parse (#70)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* update doc

* remove update

* optimized route parser

Co-authored-by: kingxt <dream4kingxt@163.com>
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
kingxt 1c3c8f4bbc
add fast create api demo service (#59)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* add fast create api demo: goctl api new

* refactor

* refactor

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kingxt 4408767981
fix command run path bug (#52)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* optimized go path logic

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kingxt 1d12f20ff6
refactor (#49)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* refactor gomod module logic

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kingxt 1602f6ce81
refactor gomod logic (#47)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* refactor gomod module logic

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kevin 8dd93d59a0 refactor code 4 years ago
kevin d1129e3974 refactor 4 years ago
kingxt 5c0c3ea467
trim space (#31)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* trim space

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kingxt 89f3712347
remove no need empty line (#29)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* trim no need line

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kevin fe3e70a60f update shorturl doc 4 years ago
kevin 36174ba5cc make svcCtx as a member for better code generation 4 years ago
kevin 7b17b3604a fix dockerfile generation 4 years ago
kevin 618bec5075 remove makefile generation 4 years ago
kevin 6c4a4be5d2 update shorturl doc 4 years ago
kevin f411178a4f refine rpc generator 4 years ago
kingxt 38806e7237
fix config yaml gen (#25)
* optimized

* format

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kevin a987d12237 sort imports on api generation 4 years ago
kevin 33208e6ef6 return zero value instead of nil on generated logic 4 years ago
kevin 1c24e71568 use yaml, and detect go.mod in current dir 4 years ago
kingxt 73b61e09ed
fix format (#23)
* fir format

* fix bug

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kingxt 0efa28ddbd
fix generate api demo (#19)
Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kevin e79c42add1 add go report badge 4 years ago
kevin 9e14820698 fix golint warnings 4 years ago
Steven Zack 1252bd9cde
goctl生成Kotlin代码优化 (#16)
* 修复Kotlin连接失败抛出Exception;添加Kotlin连接超时

* 修复路径参数导致生成的Kotlin函数名带有:问题

* Added HTTP Patch Method

* kotlin-add-patch-support

* format-imports
4 years ago
stevenzack d4e38cb7f0 rename-Api 4 years ago
stevenzack 693a8b627a fix-log-fatal 4 years ago
stevenzack 701208b6f4 fix FileNotFoundException when response code is 4xx or 5xx 4 years ago
stevenzack b65fcc5512 fix-lang-must-not-found 4 years ago
stevenzack 3321ed3519 multi-http-method-support 4 years ago
stevenzack 5e007c1f9f remove-logx 4 years ago
stevenzack de2f8c06fb fix-break-line 4 years ago
stevenzack 926d746df5 Add goctl kotlin support 4 years ago
kevin 8745039877 move lang.Must into logx.Must to make sure output fatal message as json 4 years ago
kingxt cfa6644b0c auto generate go mod if need 4 years ago
kevin 7da31921c7 remove unused method 4 years ago
kim 47440964cd fix windows slash 4 years ago
kingxt 19888b7d11 fix windows bug 4 years ago
kevin 4f59fd306a use fmt.Println instead of println 4 years ago
kevin f77c73eec1 remove unused method 4 years ago
kim 9b0b958f43 fix windows slash 4 years ago
kevin ba636187ce fix goctl path issue on windows 4 years ago
kim 2012ac3204 correct parent packet for gomod 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 44290aa4d6 refactor 4 years ago
kim 2f4505d856 format 4 years ago
kim 3ea0d8e7f6 format 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
kevin ffddfa62bb fix compile errors 4 years ago
kim 121323b8c3 goctl added 4 years ago