Probably similar to the concurrent chat server from gopl[0] then. The pattern is a bit surprising at first, still fairly readable.
[0]: https://github.com/adonovan/gopl.io/blob/master/ch8/chat/cha...
[0]: https://github.com/adonovan/gopl.io/blob/master/ch8/chat/cha...
No comments yet.