5 ms·
go func(){ channel <- data }() Here, you will never actually block on your send since it runs on it own goroutine. I can't see an actual use case for this kind
by karaziox 13y ago
go func(){ channel <- data }()
Here, you will never actually block on your send since it runs on it own goroutine. I can't see an actual use case for this kind of thing but since you are using this argument over and over then.. :)