1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 20:41:57 +00:00

mvc controllers and methods: provide mvc.Application automatically

Former-commit-id: 991d8e72c3c231813a455dd0680cd8a83b82abb1
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-05-06 08:00:56 +03:00
parent d19672115b
commit 8c470e46a2
3 changed files with 60 additions and 3 deletions

View File

@@ -145,6 +145,7 @@ Prior to this version the `iris.Context` was the only one dependency that has be
| Type | Maps To |
|------|:---------|
| [*mvc.Application](https://pkg.go.dev/github.com/kataras/iris/v12/mvc?tab=doc#Application) | Current MVC Application |
| [iris.Context](https://pkg.go.dev/github.com/kataras/iris/v12/context?tab=doc#Context) | Current Iris Context |
| [*sessions.Session](https://pkg.go.dev/github.com/kataras/iris/v12/sessions?tab=doc#Session) | Current Iris Session |
| [context.Context](https://golang.org/pkg/context/#Context) | [ctx.Request().Context()](https://golang.org/pkg/net/http/#Request.Context) |