func main() { defer func() { for {} }() } func main() { defer func() { select {} }() } func main() { defer func() { <-make(chan bool) }() }原文链接:https://www.f2er.com/go/191318.html
func main() { defer func() { for {} }() } func main() { defer func() { select {} }() } func main() { defer func() { <-make(chan bool) }() }原文链接:https://www.f2er.com/go/191318.html