Commit Graph

2312 Commits (786a80131ecd75c213a37f2441e8dd110625a89e)
 

Author SHA1 Message Date
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 702e8d79ce fix doc errors 4 years ago
kevin 95a9dabf8b format import 4 years ago
Chris bae66c49c2
1.use local variable i; 2.make sure limiter larger than timer period (#218)
Co-authored-by: chris <feilee1987@163.com>
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
kevin 71083b5e64 update readme 4 years ago
kingxt 1174f17bd9
modify image url (#213) 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
kevin 9592639cb4 add error handle tests 4 years ago
kevin abcb28e506 support error customization 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
bittoy 3819f67cf4
add redis geospatial (#209)
* add redis geospatial

* fix go test error
4 years ago
kevin 295c8d2934 fix issue #205 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
kevin e898761762 update example 4 years ago
kevin 13d1c5cd00 update example 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
kevin e6df21e0d2 format code 4 years ago
SunJun 0a2c2d1eca
change grpc interceptor to chain interceptor (#200)
* change grpc interceptor to chain interceptor

* change server rpc interceptors, del testing code
4 years ago
kevin a5fb29a6f0 update etcd yaml to avoid no such nost resolve problem 4 years ago
zhoushuguang f8da301e57
no default metric (#199)
Co-authored-by: zhoushuguang <zhoushuguang@xiaoheiban.cn>
4 years ago
kevin cb9075b737 add dockerfile into template 4 years ago
kingxt 3f389a55c2
format service and add test (#197)
Co-authored-by: kim <xutao@xiaoheiban.cn>
4 years ago
kevin afbd565d87 rename postgres 4 years ago
zhoushuguang d629acc2b7
default metric host (#196)
Co-authored-by: zhoushuguang <zhoushuguang@xiaoheiban.cn>
4 years ago
kingxt f32c6a9b28
rewrite (#194)
Co-authored-by: kim <xutao@xiaoheiban.cn>
4 years ago
kevin 95aa65efb9 add dockerfile generator 4 years ago
kevin 3806e66cf1 simplify http server starter 4 years ago
kevin bd430baf52 graceful shutdown refined 4 years ago
Keson 48f4154ea8
update doc (#193) 4 years ago
super_mario 2599e0d28d
Close the process when shutdown is finished (#157)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
4 years ago
kingxt 12327fa07d
break generator when happen error (#192)
Co-authored-by: kim <xutao@xiaoheiban.cn>
4 years ago
kevin 57079bf4a4 update cli package 4 years ago
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>
4 years ago
kevin 7d7cb836af fix issue #186 4 years ago
kevin f87d9d1dda refine code style 4 years ago
Keson 856b5aadb1
rpc generation fix (#184)
* reactor alert

* optimize

* add test case

* update the target directory in case proto contains option

* fix missing comments and format code
4 years ago
Keson f7d778e0ed
fix duplicate alias (#183) 4 years ago
kevin 88333ee77f faster the tests 4 years ago
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
4 years ago
kevin c9ec22d5f4 add https listen and serve 4 years ago
Dashuang Li afffc1048b
fix url 404 (#180) 4 years ago
kevin d0b76b1d9a move redistest into redis package 4 years ago
kevin b004b070d7 refine tests 4 years ago
kevin 677d581bd1 update doc 4 years ago
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
4 years ago