Skip to content

Add group #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add group #40

wants to merge 1 commit into from

Conversation

GoWebProd
Copy link

Usage:

group := &fasthttprouter.Group{}
group.Handle("POST", "/auth", api.handleAuthorization)

router := fasthttprouter.New()
router.Group("/api/v1/", group)

Can request: /api/v1/auth

@coveralls
Copy link

Coverage Status

Coverage decreased (-8.4%) to 91.299% when pulling 6300bd2 on GoWebProd:master into 28db72d on buaazp:master.

1 similar comment
@coveralls
Copy link

coveralls commented May 1, 2018

Coverage Status

Coverage decreased (-8.4%) to 91.299% when pulling 6300bd2 on GoWebProd:master into 28db72d on buaazp:master.

@savsgio
Copy link

savsgio commented Dec 31, 2018

Hi @GoWebProd,

The official fasthttp organization is maintaining this repo in https://github.com/fasthttp/router.

Thanks.

@buaazp
Copy link
Owner

buaazp commented Jan 9, 2019

Hi @GoWebProd
This is a useful feature for a router. What I concerned is it will break the original behavior. So can you add some unit tests and I will merge later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants