Add group
Usage:
group := &fasthttprouter.Group{}
group.Handle("POST", "/auth", api.handleAuthorization)
router := fasthttprouter.New()
router.Group("/api/v1/", group)
Can request: /api/v1/auth
Coverage decreased (-8.4%) to 91.299% when pulling 6300bd291ed0c58ec0367eb0b5ef4306641ad18f on GoWebProd:master into 28db72dff5a1512dab256b4b7f85c5aa8c36cf73 on buaazp:master.
Coverage decreased (-8.4%) to 91.299% when pulling 6300bd291ed0c58ec0367eb0b5ef4306641ad18f on GoWebProd:master into 28db72dff5a1512dab256b4b7f85c5aa8c36cf73 on buaazp:master.
Hi @GoWebProd,
The official fasthttp organization is maintaining this repo in https://github.com/fasthttp/router.
Thanks.
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.