You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-zero/tools/goctl/api/gogen
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
..
gen.go feature: goctl jwt (#91) 4 years ago
gen_test.go api handler generate incompletely while has no request (#158) 4 years ago
genconfig.go use goctl template to generate all kinds of templates 4 years ago
genetc.go use goctl template to generate all kinds of templates 4 years ago
genhandlers.go api handler generate incompletely while has no request (#158) 4 years ago
genlogic.go use goctl template to generate all kinds of templates 4 years ago
genmain.go use goctl template to generate all kinds of templates 4 years ago
genmiddleware.go refactor middleware generator (#159) 4 years ago
genroutes.go optimized generator formatted code (#148) 4 years ago
gensvc.go refactor middleware generator (#159) 4 years ago
gentypes.go 修改不能编辑代码注释 (#92) 4 years ago
template.go gozero template (#147) 4 years ago
template_test.go gozero template (#147) 4 years ago
util.go api add middleware support (#140) 4 years ago
vars.go refactor middleware generator (#159) 4 years ago