Closed channel value in go Home › Forums › Go Programming › Closed channel value in go Tagged: channel, closing value., go programming This topic has 6 replies, 1 voice, and was last updated 5 years, 7 months ago by Humble. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts May 3, 2020 at 1:07 pm #5514 Reply HumbleKeymaster When a channel is closed, the value read on the channel will be the zero value of the data type of the channel. Like 0 for int, "" for string..etc. May 3, 2020 at 1:08 pm #5515 Reply HumbleKeymaster This reply has been marked as private. May 3, 2020 at 1:09 pm #5516 Reply HumbleKeymaster This reply has been marked as private. May 3, 2020 at 1:10 pm #5517 Reply HumbleKeymaster This reply has been marked as private. May 3, 2020 at 1:12 pm #5518 Reply HumbleKeymaster This reply has been marked as private. May 3, 2020 at 2:46 pm #5519 Reply HumbleKeymaster This reply has been marked as private. May 3, 2020 at 4:48 pm #5520 Reply HumbleKeymaster This reply has been marked as private. Author Posts Viewing 7 posts - 1 through 7 (of 7 total) Reply To: Closed channel value in go Your information: Name (required): Mail (will not be published) (required): Website: Set as private reply Submit