golf
golf copied to clipboard
Route path to another app.
Router should have the ability to route a path to another app, so that there can be several apps in a single project.
Like this:
app = NewApp()
anotherApp = NewApp()
app.Route("/admin", anotherApp)
or
app = newApp()
another = app.Route("/foo")
another.Get("/", func)
another.Post("/", func)