Commit Graph

100 Commits (f90c0aa98e65e426251f981326a9b784d3a3aa82)

Author SHA1 Message Date
kingxt e7d46aa6e2
refactor and rename folder to group (#106)
* 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

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl support import

* goctl support import

* support return ()

* support return ()

* revert

* format api

* refactor and rename folder to group

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kingxt 8a470bb6ee
support return () syntax (#101)
* 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

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl support import

* goctl support import

* support return ()

* support return ()

* remove pwd for windows not support

* revert

* remove no need

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
kingxt 8d0f7dbb27
rename (#98)
* 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

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl support import

* goctl support import

* rename

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
Keson a5ce2c448e
fix bug: module parse error (#97) 4 years ago
Keson 9f9c24cce9
fix bug: release empty struct limit (#96) 4 years ago
kingxt b628bc0086
goctl support import api file (#94)
* 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

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl support import

* goctl support import

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
miaogaolin 46995a4d7d
修改不能编辑代码注释 (#92)
* rename file and function name

* update comments of "code generate"
4 years ago
kingxt 5e6dcac734
feature: goctl jwt (#91)
* 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

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

* goctl add jwt support

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
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
kevin 0b1ee79d3a rename rpcx to zrpc 4 years ago
miaogaolin 68335ada54
rename file and function name (#74) 4 years ago
kevin a561884fcf print message when starting api server 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
Sergey Cheung 21e811887c
Markdown lint (#58)
* markdown linter

* format markdown docs

* format exiting markdown docs
4 years ago
kevin 7f0ec14704 update goctl makefile 4 years ago
Keson d12e9fa2d7
add model&rpc doc (#62) 4 years ago
miaogaolin ce5961a7d0
fix goctl model (#61) 4 years ago
kevin 72aeac3fa9 add in-process cache doc 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
Keson 17e6cfb7a9
quickly generating rpc demo service (#60)
* add execute files

* add protoc-osx

* add rpc generation

* add rpc generation

* add: rpc template generation

* add README.md

* format error

* reactor templatex.go

* update project.go & README.md

* add: quickly generate rpc service
4 years ago
kevin 0d151c17f8 update wechat image 4 years ago
miaogaolin 52990550fb
fix GOMOD env fetch bug (#55) 4 years ago
bittoy 3128d63134
fix goctl model path (#53) 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 2b815162f6
refactor (#48)
* 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
Keson 3a4e1cbb33
fix bug: miss time import (#36)
* add execute files

* add protoc-osx

* add rpc generation

* add rpc generation

* add: rpc template generation

* optimize gomod cache

* add README.md

* format error

* reactor templatex.go

* update project.go & README.md

* fix bug: miss time import
4 years ago
kevin d1129e3974 refactor 4 years ago
kingxt 33eb2936e8
fix: root path on windows bug (#34)
* rebase upstream

* rebase

* trim no need line

* trim no need line

* trim no need line

* fix bug on windows

Co-authored-by: kingxt <dream4kingxt@163.com>
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 eb40c2731d remove files 4 years ago
kevin 618bec5075 remove makefile generation 4 years ago
kevin 5821b7324e update readme 4 years ago
kevin befdaab542 update goctl makefile 4 years ago
kevin 431be8ed9d make goctl work on linux 4 years ago
kevin 6c4a4be5d2 update shorturl doc 4 years ago
kevin 6e3d99e869 reorg imports 4 years ago
Keson 0f97b2019a
rpc generation support windows (#28)
* add execute files

* add protoc-osx

* add rpc generation

* add rpc generation

* add: rpc template generation

* update usage

* fixed env prepare for project in go path

* optimize gomod cache

* add README.md

* format error

* reactor templatex.go

* remove waste code

* update project.go & README.md

* update project.go & README.md

* rpc generation supports windows
4 years ago
kevin 3affe62ae4 update shorturl doc 4 years ago