()
| 374 | } |
| 375 | |
| 376 | func (c *ControllerActivator) attachInjector() { |
| 377 | if c.injector == nil { |
| 378 | partyCountParams := macro.CountParams(c.app.Router.GetRelPath(), *c.app.Router.Macros()) |
| 379 | c.injector = c.app.container.Struct(c.Value, partyCountParams) |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | // Activated can be called to skip the internal method parsing. |
| 384 | func (c *ControllerActivator) Activated() bool { |
no test coverage detected