Y
Hacker News
new
|
ask
|
show
|
jobs
by
axaxs
4650 days ago
This is generally the Go way of limiting concurrency and usually the recommended approach. Some use empty structs in place of bools, but otherwise there doesn't seem to be a problem with the approach.