6 ms·
Go's "red" is also "function may return an error"
by sapiogram 3y ago
Go's "red" is also "function may return an error"
- goldsteinq 3y agoSure, but it’s a different effect. Go’s asynchronous “red” is either “accepts a cancellation context” or “accepts a output channel” (since goroutines can’t return values normally).