Show HN: Gochan – A library of channel architectures for Go, inspired by Rust

andres1 pts0 comments

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 they would be easier to re-use:- oneshot - spsc - spmc - mpsc - mpmc - broadcast - watchThe 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/gochanAndres

gochan rust library channel architectures inspired

Related Articles