Noir::TreeSitterGoRouteExtractor::RouteHelper
A same-file function (or closure variable) that takes the router as
a parameter and registers routes on it — gitea's
func addProjectRoutes(m *web.Router, ...) called from three
different groups, or addActionsRoutes := func(m *web.Router, ...).
Its body is walked at every call site with the caller's active
prefix, and its declaration is skipped by the free-floating walk
(which would otherwise report the routes at the helper's own,
prefix-less, path).
Constructors
Instance methods
body
Sourcecalls
Sourcerouter_index
Sourcerouter_param
Source