@kjk1/

gobook channels close 4

Go

No description

fork
loading
Files
  • main.go

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.7505534314266653","path":"main.go","file":{"path":"main.go","content":{"asEncoding":{"base64":"Ly8gYWxsb3cgZXJyb3IKcGFja2FnZSBtYWluCgpmdW5jIG1haW4oKSB7CgkvLyA6c2hvdyBzdGFydAoJY2ggOj0gbWFrZShjaGFuIHN0cmluZykKCWNsb3NlKGNoKQoJY2xvc2UoY2gpCgkvLyA6c2hvdyBlbmQKfQ=="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
// allow error
package main

func main() {
	// :show start
	ch := make(chan string)
	close(ch)
	close(ch)
	// :show end
}