[–] tomaszsobota 4y ago ↗ This is awesome! It took me a moment to figure out the loop in addConsumer but it's neat. [–] bmcgee84 4y ago ↗ Thanks. It's a pattern I saw in https://github.com/LMAX-Exchange/disruptor.
[–] lakomen 4y ago ↗ Why put this under pkg, why this weird structure?The Readme doesn't say what it is, reading it on the phone. [–] bmcgee84 4y ago ↗ I'm new to Go, still finding my way with the idioms. Since there's nothing internal and this is just a small library I can see how it's simpler to flatten the directory structure, which also seems to be how other libraries do it.
[–] bmcgee84 4y ago ↗ I'm new to Go, still finding my way with the idioms. Since there's nothing internal and this is just a small library I can see how it's simpler to flatten the directory structure, which also seems to be how other libraries do it.
4 comments
[ 3.0 ms ] story [ 23.2 ms ] threadThe Readme doesn't say what it is, reading it on the phone.