objectBomb is a wrapper around an Objecter that calls a function when RBACObject is called.
| 37 | // objectBomb is a wrapper around an Objecter that calls a function when |
| 38 | // RBACObject is called. |
| 39 | type objectBomb struct { |
| 40 | Objecter |
| 41 | bomb func() |
| 42 | } |
| 43 | |
| 44 | func (o *objectBomb) RBACObject() Object { |
| 45 | o.bomb() |
nothing calls this directly
no outgoing calls
no test coverage detected