mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
.DI() to ConfigureContainer(...builders)
Former-commit-id: 169671a8b5b706dc8f136e68c1a060f27a2c421b
This commit is contained in:
@@ -44,7 +44,7 @@ func newApp(subRouter router.Party, container *hero.Container) *Application {
|
||||
//
|
||||
// Example: `New(app.Party("/todo"))` or `New(app)` as it's the same as `New(app.Party("/"))`.
|
||||
func New(party router.Party) *Application {
|
||||
return newApp(party, party.DI().Container)
|
||||
return newApp(party, party.ConfigureContainer().Container)
|
||||
}
|
||||
|
||||
// Configure creates a new controller and configures it,
|
||||
|
||||
Reference in New Issue
Block a user