Kevin Wan
50fbdbcfd7
update readme ( #390 )
4 years ago
Kevin Wan
eca4ed2cc0
format code ( #386 )
4 years ago
文杰
3285436f75
f-fix spell ( #381 )
...
Co-authored-by: chenwenjie <chenwenjie@zzstc.cn>
4 years ago
kingxt
7f49bd8a31
code optimized ( #382 )
4 years ago
kingxt
9cd2015661
fix inner type generate error ( #377 )
...
* fix point type bug
* optimized
* fix inner type error
4 years ago
kingxt
cf3a1020b0
Java optimized ( #376 )
...
* optiimzed java gen
* optiimzed java gen
* fix
4 years ago
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>
4 years ago
Kevin Wan
8774d72ddb
remove duplicated code in goctl ( #369 )
4 years ago
HarryWang29
e3fcdbf040
fix return in for ( #367 )
...
Co-authored-by: HarryWang29 <wrz890829@gmail.com>
4 years ago
Kevin Wan
2854ca03b4
update goctl version to 1.1.3 ( #364 )
4 years ago
anqiansong
6c624a6ed0
Feature model fix ( #362 )
...
* fix sql builderx adding raw string quotation marks incompatibility bug
* add unit test
* remove comments
* fix sql builderx adding raw string quotation marks incompatibility bug
4 years ago
kingxt
12e235efb0
optimized goctl format ( #336 )
...
* fix format
* refactor
* refactor
* optimized
* refactor
* refactor
* refactor
* add js path prefix
4 years ago
FengZhang
a926cb514f
modify the goctl gensvc template ( #323 )
4 years ago
kingxt
25cab2f273
Java ( #327 )
...
* add g4 file
* new define api by g4
* reactor parser to g4gen
* add syntax parser & test
* add syntax parser & test
* add syntax parser & test
* update g4 file
* add import parse & test
* ractor AT lexer
* panic with error
* revert AT
* update g4 file
* update g4 file
* update g4 file
* optimize parser
* update g4 file
* parse info
* optimized java generator
* revert
* optimize java generator
* update java generator
* update java generator
* update java generator
* update java generator
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago
anqiansong
a3b525b50d
feature model fix ( #296 )
...
* add raw stirng quote for sql field
* remove unused code
4 years ago
Kevin Wan
acd48f0abb
optimize dockerfile generation ( #284 )
4 years ago
kingxt
f919bc6713
refactor ( #283 )
4 years ago
Kevin Wan
a0030b8f45
format dockerfile on non-chinese mode ( #282 )
4 years ago
Kevin Wan
4d13dda605
add EXPOSE in dockerfile generation ( #281 )
4 years ago
songmeizi
b56cc8e459
optimize test case of TestRpcGenerate ( #279 )
...
Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago
Kevin Wan
c686c93fb5
fix dockerfile generation bug ( #277 )
4 years ago
Kevin Wan
da8f76e6bd
add category docker & kube ( #276 )
4 years ago
Kevin Wan
fd73ced6dc
optimize dockerfile ( #272 )
4 years ago
Kevin Wan
5071736ab4
fmt code ( #270 )
4 years ago
songmeizi
84ab11ac09
feature plugin custom flag ( #251 )
...
* support plugin custom flags
* add short name
* remove log
* remove log
4 years ago
kingxt
67804a6bb2
optimized parse tag ( #256 )
4 years ago
Kevin Wan
65ee877236
refactor & format code ( #255 )
4 years ago
songmeizi
4d53045c6b
improve data type conversion ( #236 )
...
* improve data type conversion
* update doc
4 years ago
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>
4 years ago
Kevin Wan
7cd0463953
fix lint errors ( #249 )
...
* 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
* fix lint errors
Co-authored-by: benying <31179034+benyingY@users.noreply.github.com>
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
Co-authored-by: bittoy <bittoy@qq.com>
4 years ago
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>
4 years ago
Kevin Wan
f997aee3ba
optimize docker file generation, make docker build faster ( #244 )
...
* 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
Co-authored-by: benying <31179034+benyingY@users.noreply.github.com>
Co-authored-by: 杨志泉 <zhiquan.yang@yiducloud.cn>
Co-authored-by: bittoy <bittoy@qq.com>
4 years ago
Kevin Wan
e5c560e8ba
simplify code, format makefile ( #233 )
4 years ago
Keson
2dfecda465
modify the service name from proto ( #230 )
4 years ago
voidint
3ebb1e0221
Improve Makefile robustness ( #224 )
4 years ago
kingxt
348184904c
set default handler value ( #228 )
...
* set default value
* set default value
4 years ago
Keson
7a27fa50a1
update version ( #226 )
4 years ago
Kevin Wan
8d4951c990
check go.mod before build docker image ( #225 )
4 years ago
Keson
6e57f6c527
feature model interface ( #222 )
...
* make variable declaration more concise
* add model interface
* optimize interface methods
* fix: go test failed
* warp returns
* optimize
4 years ago
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>
4 years ago
kevin
95a9dabf8b
format import
4 years ago
kingxt
e0afe0b4bb
optimize api new ( #216 )
4 years ago
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
4 years ago
kingxt
d6d8fc21d8
type should not define nested ( #212 )
...
* nest type should not supported
* nest type should not supported
* nest type should not supported
* nest type should not supported
* new test
* new test
4 years ago
kingxt
a92f65580c
support type def without struct token ( #210 )
...
* add comment support
* add comment support
* 1. group support multi level folder
2. remove force flag
* bug fix
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* support type def without struct token
* support type def without struct token
* support type def without struct token
* support type def without struct token
* support type def without struct token
* support type def without struct token
* support type def without struct token
* optimized
* optimized
* optimized
Co-authored-by: kim <xutao@xiaoheiban.cn>
4 years ago
kingxt
88da8685dd
optimize parser ( #206 )
...
* add comment support
* add comment support
* 1. group support multi level folder
2. remove force flag
* bug fix
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* optimized parser
Co-authored-by: kim <xutao@xiaoheiban.cn>
4 years ago
kevin
c7831ac96d
update goctl readme
4 years ago
kingxt
16bfb1b7be
refactor parser and remove deprecated code ( #204 )
...
* add comment support
* add comment support
* 1. group support multi level folder
2. remove force flag
* bug fix
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
* refactor parser and remove deprecated code
Co-authored-by: kim <xutao@xiaoheiban.cn>
4 years ago
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>
4 years ago
kingxt
7b4a5e3ec6
api support for comment double slash // ( #201 )
...
* add comment support
* add comment support
Co-authored-by: kim <xutao@xiaoheiban.cn>
4 years ago