Kevin Wan
73417f54db
update goctl version to 1.1.8 ( #696 )
2021-05-17 15:13:48 +08:00
anqiansong
dda7666097
Feature mongo gen ( #546 )
...
* add feature: mongo code generation
* upgrade version
* update doc
* format code
* update update.tpl of mysql
2021-03-12 17:49:28 +08:00
kingxt
e6ef1fca12
Code optimized ( #523 )
...
* optimized markdown generator
* optimized markdown generator
* optimized markdown generator
* add more comment
* add comment
* add comment
* add comments for rpc tool
* add comments for model tool
* add comments for model tool
* add comments for model tool
* add comments for config tool
* add comments for config tool
* add comments
* add comments
* add comments
* add comments
* add comment
* remove rpc main head info
* add comment
* optimized
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-02-26 16:11:47 +08:00
kingxt
f98c9246b2
Code optimized ( #493 )
2021-02-20 19:50:03 +08:00
kingxt
f14ab70035
Code optimized ( #474 )
...
* optimized markdown generator
* optimized markdown generator
* optimized markdown generator
* optimized markdown generator
2021-02-18 15:08:20 +08:00
Kevin Wan
ebec5aafab
use env if necessary in loading config ( #409 )
2021-01-21 19:33:34 +08:00
Kevin Wan
572b32729f
update goctl version to 1.1.3 ( #402 )
2021-01-18 16:34:00 +08:00
kingxt
4db20677f7
optimized ( #392 )
2021-01-15 11:36:37 +08:00
kingxt
ee19fb736b
feature: refactor api parse to g4 ( #365 )
...
* feature: refactor api parse to g4
* new g4 parser
* add CHANGE_LOG.MD
* refactor
* fix byte bug
* refactor
* optimized
* optimized
* revert
* update readme.md
* update readme.md
* update readme.md
* update readme.md
* remove no need
* fix java gen
* add upgrade
* resolve confilits
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2021-01-11 15:10:51 +08:00
Kevin Wan
2854ca03b4
update goctl version to 1.1.3 ( #364 )
2021-01-08 14:02:59 +08:00
Kevin Wan
acd48f0abb
optimize dockerfile generation ( #284 )
2020-12-12 16:53:06 +08:00
Kevin Wan
4d13dda605
add EXPOSE in dockerfile generation ( #281 )
2020-12-12 08:18:01 +08:00
Kevin Wan
c686c93fb5
fix dockerfile generation bug ( #277 )
2020-12-11 20:31:31 +08:00
Kevin Wan
da8f76e6bd
add category docker & kube ( #276 )
2020-12-11 18:53:40 +08:00
songmeizi
84ab11ac09
feature plugin custom flag ( #251 )
...
* support plugin custom flags
* add short name
* remove log
* remove log
2020-12-09 18:08:17 +08:00
kingxt
cecd4b1b75
goctl add plugin support ( #243 )
...
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* add plugin support
* remove no need
* add plugin support
* rename
* rename
* add plugin support
* refactor
* update plugin
* refactor
* refactor
* refactor
* update plugin
* newline
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
2020-12-07 14:55:10 +08:00
Kevin Wan
7a82cf80ce
support k8s deployment yaml generation ( #247 )
...
* simplify code, format makefile
* simplify code
* some optimize by kevwan and benying (#240 )
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
* optimization (#241 )
* optimize docker file generation, make docker build faster
* support k8s deployment yaml generation
Co-authored-by: benying <31179034+benyingY@users.noreply.github.com>
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
Co-authored-by: bittoy <bittoy@qq.com>
2020-12-07 00:07:50 +08:00
Keson
7a27fa50a1
update version ( #226 )
2020-11-25 12:04:22 +08:00
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>
2020-11-24 15:11:18 +08:00
Keson
24fb29a356
patch model&rpc ( #207 )
...
* change column to read from information_schema
* reactor generate mode from datasource
* reactor generate mode from datasource
* add primary key check logic
* resolve rebase conflicts
* add naming style
* add filename test case
* resolve rebase conflicts
* reactor test
* add test case
* change shell script to makefile
* update rpc new
* update gen_test.go
* format code
* format code
* update test
* generates alias
2020-11-18 15:32:53 +08:00
kingxt
ef4d4968d6
1. group support multi level folder 2. remove force flag ( #203 )
...
* add comment support
* add comment support
* 1. group support multi level folder
2. remove force flag
* bug fix
Co-authored-by: kim <xutao@xiaoheiban.cn>
2020-11-12 19:47:32 +08:00
kevin
95aa65efb9
add dockerfile generator
2020-11-08 21:28:58 +08:00
kingxt
7f6eceb5a3
add more test ( #189 )
...
* new test
* import bug when with quotation
* new test
* add test condition
* rpc template command use -o param
Co-authored-by: kim <xutao@xiaoheiban.cn>
2020-11-07 17:13:40 +08:00
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
codingfanlt
a13b48c33e
goctl add stdin flag ( #170 )
...
* add stdin flag to use stdin receive api doc and use stdout output formatted result
* optimize code and output error through stderr
* fix mistake
* add dir parameter legality verify
2020-10-28 22:37:59 +08:00
Keson
607fc3297a
model template fix ( #169 )
...
* replace quote
* rpc disable override main.go
* reactor template
* add model flag -style
* add model flag -style
* reactor model template name of error
2020-10-27 22:42:53 +08:00
Keson
c9494c8bc7
model support globbing patterns ( #153 )
...
* model support globbing patterns
* optimize model
* optimize model
* format code
2020-10-22 18:33:09 +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
f904710811
support api templates
2020-10-15 16:36:49 +08:00
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"
2020-09-14 17:12:31 +08:00
kevin
72aeac3fa9
add in-process cache doc
2020-09-11 15:30:20 +08:00
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>
2020-09-11 15:27:35 +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
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
kevin
77e23ad65d
add quick example
2020-08-27 22:54:18 +08:00
kevin
267a283328
reorg imports
2020-08-20 10:46:39 +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
kevin
9e14820698
fix golint warnings
2020-08-19 16:00:55 +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
stevenzack
5e007c1f9f
remove-logx
2020-08-17 16:54:56 +08:00
stevenzack
926d746df5
Add goctl kotlin support
2020-08-17 16:54:56 +08:00
kingxt
952de5eacd
remove deprecated model generator
2020-08-10 18:18:13 +08:00
kim
18a80efd70
remote auto import
2020-08-08 17:05:42 +08:00
kevin
0a7e0cce77
update package reference
2020-08-08 16:40:10 +08:00
kevin
dc744766a9
rename mapreduce to mr
2020-07-29 22:34:37 +08:00
kim
121323b8c3
goctl added
2020-07-29 17:12:04 +08:00