example/route_middleware.go
func RouteMiddleware(next r2router.HandlerFunc) r2router.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request, p r2router.Params) {
		p.AppSet("say", "Hello")
		next(w, r, p)
	}
}
func RouteMiddleware(next r2router.HandlerFunc) r2router.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request, p r2router.Params) {
		p.AppSet("say", "Hello")
		next(w, r, p)
	}
}
func RouteMiddleware ( next r2router . HandlerFunc ) r2router . HandlerFunc { return func ( w http . ResponseWriter , r * http . Request , p r2router . Params ) { p . AppSet ( " " , " " ) next ( w , r , p ) } }
// Your own route middle wrapper
Your own route middle wrapper