Activated can be called to skip the internal method parsing.
()
| 382 | |
| 383 | // Activated can be called to skip the internal method parsing. |
| 384 | func (c *ControllerActivator) Activated() bool { |
| 385 | b := c.activated |
| 386 | c.activated = true |
| 387 | return b |
| 388 | } |
| 389 | |
| 390 | func (c *ControllerActivator) activate() { |
| 391 | if c.Activated() { |