Commit Graph

1988 Commits (fe97fab274ae6343ed1ff334f92555f3153fb718)
 

Author SHA1 Message Date
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
kevin 4c9315e984 add more tests 4 years ago
kevin 668a7011c4 add more tests 4 years ago
吴亲库里 cc07a1d69b
Update sharedcalls.go (#174)
Removes unused parameters
4 years ago
kevin 7f99a3baa8 add gitee url 4 years ago
kevin 9504418462 update doc 4 years ago
kevin b144a2335c update bookstore example for generation prototype 4 years ago
kevin 7b9ed7a313 update doc 4 years ago
kevin 3d2e9fcb84 remove wechat image 4 years ago
kevin 2b993424c1 update wechat qrcode 4 years ago
kevin 5e87b33b23 support https in rest 4 years ago
kevin 9b7cc43dcb update wechat qrcode 4 years ago
kevin 000b28cf84 update readme 4 years ago
kevin 9fd16cd278 add images back because of gitee not showing 4 years ago
kevin b71429e16b add images back because of gitee not showing 4 years ago
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
4 years ago
kevin 033525fea8 update doc using raw images 4 years ago
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
4 years ago
cuisongliu 4287877b74
update deployment version (#165) 4 years ago
Keson 2b7545ce11
spell fix (#167) 4 years ago
Keson 60925c1164
fix bug: generate incomplete model code in case findOneByField (#160)
* fix bug: generate incompletely in case findOneByField

* code break line

* add test

* revert command.go

* add test

* remove incorrect test
4 years ago
kingxt 1c9e81aa28
refactor middleware generator (#159)
* 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 ()

* revert

* refactor and rename folder to group

* remove no need

* add anonymous annotation

* optimized

* rename

* rename

* update test

* api add middleware support: usage:

@server(
    middleware: M1, M2
)

* api add middleware support: usage:

@server(
    middleware: M1, M2
)

* simple logic

* optimized

* optimized generator formatted code

* optimized generator formatted code

* add more test

* refactor middleware generator

* revert test

* revert test

* revert test

* revert test

* revert test

Co-authored-by: kingxt <dream4kingxt@163.com>
4 years ago
sjatsh db7dcaa120
gen api svc add middleware implement temp code (#151) 4 years ago
kevin 099d44054d add logo in readme 4 years ago
Keson f5f873c6bd
api handler generate incompletely while has no request (#158)
* fix: api handler generate incompletely while has no request

* fix: api handler generate incompletely while has no request

* add handler generate test
4 years ago