Commit Graph

6 Commits (faf4d7e3bbaabd4bf54bb29582755e44a5092b27)

Author SHA1 Message Date
Bo-Yi Wu afd9ff889e
chore: update code format. (#628) 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
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
kingxt 12327fa07d
break generator when happen error (#192)
Co-authored-by: kim <xutao@xiaoheiban.cn>
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