()
| 251 | } |
| 252 | |
| 253 | func ExampleChannel() { |
| 254 | var ch Channel |
| 255 | |
| 256 | ch = NewInfiniteChannel() |
| 257 | |
| 258 | for i := 0; i < 10; i++ { |
| 259 | ch.In() <- nil |
| 260 | } |
| 261 | |
| 262 | for i := 0; i < 10; i++ { |
| 263 | <-ch.Out() |
| 264 | } |
| 265 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…