(key string)
| 76 | } |
| 77 | |
| 78 | func (ev *Event) Get(key string) string { |
| 79 | ev.mu.RLock() |
| 80 | defer ev.mu.RUnlock() |
| 81 | val, _ := ev.vals[key] |
| 82 | return val |
| 83 | } |
| 84 | |
| 85 | func (ev *Event) NewLazy(key string) chan<- string { |
| 86 | ch := make(chan string, 1) |
no outgoing calls
no test coverage detected