1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00
This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-03-11 22:37:55 +02:00
parent 0473648bd6
commit 946ea6787d
59 changed files with 171 additions and 311 deletions

View File

@@ -18,8 +18,6 @@ func newApp() *iris.Application {
//
// Third receiver should contains the route's handler(s), they are executed by order.
app.Handle("GET", "/", func(ctx iris.Context) {
// navigate to the https://github.com/kataras/iris/wiki/Routing-context-methods
// to overview all context's method.
ctx.HTML("Hello from " + ctx.Path()) // Hello from /
})