4 ms·
Looks like an error in the Go code in the What I didn't like/No enums section. In the paintingLoop function the type assertion switch should be on the message a
by kylequest 11y ago
Looks like an error in the Go code in the What I didn't like/No enums section. In the paintingLoop function the type assertion switch should be on the message and not the channel.
Should be "switch msg.(type)" instead of "switch ch.(type)"
- Manishearth 11y agothanks; fixed!