mirror of
https://github.com/kataras/iris.git
synced 2026-01-06 03:27:27 +00:00
split of the mvc and the new hero package is completed, now handlers with input and output binding feature is a different feature than the mvc, however the mvc controller's methods can use the hero dependency injection as before (v10+)
Former-commit-id: d67f5a5ed9033286bcc4c04f6be612823cba2a57
This commit is contained in:
@@ -36,7 +36,7 @@ func TodoApp(app *mvc.Application) {
|
||||
// can be either a function which accepts an iris.Context and returns a single value (dynamic binding)
|
||||
// or a static struct value (service).
|
||||
app.AddDependencies(
|
||||
mvc.Session(sessions.New(sessions.Config{})),
|
||||
sessions.New(sessions.Config{})).Start,
|
||||
&prefixedLogger{prefix: "DEV"},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user