| 6 | ) |
| 7 | |
| 8 | type ChannelBefore struct { |
| 9 | mu sync.Mutex |
| 10 | clients map[string]io.ReadWriter |
| 11 | } |
| 12 | |
| 13 | func (channel *ChannelBefore) Connect(name string, client io.ReadWriter) { |
| 14 | channel.mu.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected