4 ms·
One of the more interesting ways I've seen channels used in Go is a channel of generic interfaces, and then switching based on the type received. https://docs.
by mdwrigh2 15y ago
One of the more interesting ways I've seen channels used in Go is a channel of generic interfaces, and then switching based on the type received.
https://docs.google.com/present/view?id=df36r82q_5gdq5gzth&pli=1 https://docs.google.com/present/view?id=df36r82q_5gdq5gzth&#... has an example of this on slide 15.