Keson
e76f44a35b
reactor rpc ( #179 )
...
* reactor rpc generation
* update flag
* update command
* update command
* update unit test
* delete test file
* optimize code
* update doc
* update gen pb
* rename target dir
* update mysql data type convert rule
* add done flag
* optimize req/reply parameter
* optimize req/reply parameter
* remove waste code
* remove duplicate parameter
* format code
* format code
* optimize naming
* reactor rpcv2 to rpc
* remove new line
* format code
* rename underline to snake
* reactor getParentPackage
* remove debug log
* reactor background
2020-11-05 14:12:47 +08:00
kingxt
b776468e69
route support no request and response ( #178 )
...
* add more test and support no request and response
* fix slash when run on windows
* optimize test
2020-11-02 13:48:16 +08:00
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
2020-10-21 14:59:35 +08:00
kevin
dfe6e88529
use goctl template to generate all kinds of templates
2020-10-19 23:13:18 +08:00
kevin
94645481b1
fix golint issues
2020-10-16 10:50:43 +08:00
kevin
f904710811
support api templates
2020-10-15 16:36:49 +08:00
Keson
7e61555d42
Gozero sqlgen patch ( #119 )
...
* merge upstream
* optimize insert logic
* reactor functions
2020-10-11 21:55:44 +08:00
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
2020-10-10 16:19:46 +08:00
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>
2020-09-27 17:23:15 +08:00
Keson
a5ce2c448e
fix bug: module parse error ( #97 )
2020-09-23 22:10:25 +08:00
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
2020-09-11 15:26:55 +08:00
kevin
0d151c17f8
update wechat image
2020-09-10 18:05:04 +08:00
miaogaolin
52990550fb
fix GOMOD env fetch bug ( #55 )
2020-09-09 11:43:47 +08:00
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>
2020-09-08 12:19:34 +08:00
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>
2020-09-07 18:47:03 +08:00
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>
2020-09-07 18:12:03 +08:00
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>
2020-09-07 18:04:59 +08:00
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>
2020-09-02 15:14:27 +08:00
kevin
72132ce399
refine goctl rpc generator
2020-08-28 21:22:35 +08:00
Keson
db16115037
rpc service generation ( #26 )
...
* 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
2020-08-28 19:24:58 +08:00
kingxt
38806e7237
fix config yaml gen ( #25 )
...
* optimized
* format
Co-authored-by: kingxt <dream4kingxt@163.com>
2020-08-27 15:23:19 +08:00
Keson
db83843558
gocctl model v20200819 ( #18 )
...
* rename snake、came method
* new: generate model from data source
* add change log md
* update model doc
* update doc
* beauty code
2020-08-20 10:29:18 +08:00
Keson
d21d770b5b
goctl model reactor ( #15 )
...
* reactor sql generation
* reactor sql generation
* add console & example
* optimize unit test & add document
* modify default config
* remove test file
* Revert "remove test file"
This reverts commit 81041f9e
* fix stringx.go & optimize example
* remove unused code
2020-08-19 10:41:19 +08:00
kevin
a13ab94748
remove unused method
2020-08-11 12:39:09 +08:00
kevin
ba636187ce
fix goctl path issue on windows
2020-08-10 17:26:47 +08:00
kevin
0a7e0cce77
update package reference
2020-08-08 16:40:10 +08:00
kim
121323b8c3
goctl added
2020-07-29 17:12:04 +08:00