(cmds ...Command)
| 25 | } |
| 26 | |
| 27 | func (mgr *Manager) Register(cmds ...Command) { |
| 28 | mgr.mu.Lock() |
| 29 | defer mgr.mu.Unlock() |
| 30 | mgr.commands = append(mgr.commands, cmds...) |
| 31 | mgr.graph = nil |
| 32 | } |
| 33 | |
| 34 | func (mgr *Manager) Call(command string, caller Caller) { |
| 35 | arguments := strings.Split(command, " ") |
nothing calls this directly
no outgoing calls
no test coverage detected