Hi All,
I felt like I was re-inventing the wheel by bolting similar channel architectures onto different Go structs repeatedly so I decided to extract some common types into into one library so that they would be easier to re-use:
- oneshot
- spsc
- spmc
- mpsc
- mpmc
- broadcast
- watch
The types are inspired by Rust channels so if you're coming from Rust they should feel familiar. So far I'm really enjoying using them but it'd be great to get some external feedback if you have time!https://github.com/amorey/gochan
Andres
loading...