3 ms·
So I have opened golang.org: v1, ok1 := <-c1 Not sure what is difference between := and = and what is that arrow. But if I'm going to do something with the l
by timeon 5y ago
So I have opened golang.org:
v1, ok1 := <-c1
Not sure what is difference between := and =
and what is that arrow. But if I'm going to do something with the language - I guess it will be easy to find out. Like with Rust.
- rob74 5y agoSure - except that in Go there are (my impression after taking a look at various Rust resources) far fewer things you have to find out this way than in Rust. Which, of course, some view as a limitation, others view as a plus for Go.