Commit Graph

23 Commits (c9494c8bc7017e49ffcbaa65a929b3cb2c71f08d)

Author SHA1 Message Date
Keson 41964f9d52
gozero template (#147)
* model/rpc generate code from template cache

* delete unused(deprecated) code

* support template init|update|clean|revert

* model: return the execute result for insert and update operation

* // deprecated: containsAny

* add template test

* add default buildVersion

* update build version
4 years ago
kevin dfe6e88529 use goctl template to generate all kinds of templates 4 years ago
mywaystay 7e83895c6e
update goctl rpc template log print url (#133) 4 years ago
sjatsh 338caf9927
delete goctl rpc main tpl no use import (#130) 4 years ago
kevin f904710811 support api templates 4 years ago
kevin 936dd67008 simplify code generation 4 years ago
super_mario 84cc41df42
stop rpc server when main function exit (#120)
add defer s.Stop() to mainTemplate, in order to stop rpc server when main function exit
4 years ago
Keson 0a9c427443
Goctl rpc patch (#117)
* remove mock generation

* add: proto project import

* update document

* remove mock generation

* add: proto project import

* update document

* remove NL

* update document

* optimize code

* add test

* add test
4 years ago
Keson 9f9c24cce9
fix bug: release empty struct limit (#96) 4 years ago
kevin 0b1ee79d3a rename rpcx to zrpc 4 years ago
kevin a561884fcf print message when starting api server 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
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
kevin fe3e70a60f update shorturl doc 4 years ago
kevin 36174ba5cc make svcCtx as a member for better code generation 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
Keson 0734bbcab3
update handler generation (#27)
* 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
4 years ago
kevin f411178a4f refine rpc generator 4 years ago
kevin 72132ce399 refine goctl rpc generator 4 years ago