1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00

add taiwan's flag to the translation of README by #2043

This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-01-30 16:49:48 +02:00
parent bb3d5f21d6
commit 548f99013f
3 changed files with 7 additions and 3 deletions

View File

@@ -30,6 +30,11 @@ func main() {
// create a sub router and register the http controllers.
todosRouter := app.Party("/todos")
// Register sessions handler.
// TodoController.Session will automatically
// filled with the current request's session.
todosRouter.Use(sess.Handler())
// create our mvc application targeted to /todos relative sub path.
todosApp := mvc.New(todosRouter)