Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tandr
on Jan 2, 2021
|
parent
|
context
|
favorite
| on:
V (Vlang) 0.2
Silly me - the syntax that I proposed was the second one
err := close(ch)
to handle case when you don't want a panic on closing of closed channel. The first one was discussed on golang-nuts, but it died there.
ylluminate
on Jan 3, 2021
[–]
Would highly suggest you pop onto Discord (
https://discord.gg/vlang
) to chat in #concurrency about this further...
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: