1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 10:27:06 +00:00

introduce iris.NewGuide()

This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-06-05 22:12:57 +03:00
parent d8af2a1e14
commit 288a67bc58
7 changed files with 597 additions and 13 deletions

View File

@@ -32,7 +32,7 @@ func newApp() *iris.Application {
// party or subdomain:
// Get all routes that are registered so far, including all "Parties" and subdomains:
currentRoutes := app.GetRoutes()
// Register them to the www subdomain/vhost as well:
// Register them to the www subdomain/VHost as well:
for _, r := range currentRoutes {
www.Handle(r.Method, r.Tmpl().Src, r.Handlers...)
}