Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Use global middleware #17

Closed
beikege opened this issue Mar 22, 2020 · 1 comment
Closed

Use global middleware #17

beikege opened this issue Mar 22, 2020 · 1 comment
Assignees

Comments

@beikege
Copy link
Contributor

beikege commented Mar 22, 2020

router := clevergo.NewRouter()
router.Use(middleware)

Is there a similar method?
@razonyang
Copy link
Member

razonyang commented Mar 22, 2020

Currently, it is not supported. I will add this feature in the next version.

Router.Use was added.

@razonyang razonyang added this to the v1.5 milestone Mar 22, 2020
@razonyang razonyang self-assigned this Mar 22, 2020
@razonyang razonyang added the todo label Mar 22, 2020
@razonyang razonyang removed the todo label Mar 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants