mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-24 12:32:21 +00:00
Merge pull request #322 from fuwensun/pr-appendix-a-1f
appendix a trap fix code
This commit is contained in:
commit
72f72eb97a
@ -190,6 +190,7 @@ func main() {
|
||||
for i := 0; i < 10; i++ {
|
||||
fmt.Println(i)
|
||||
}
|
||||
os.Exit(0)
|
||||
}()
|
||||
|
||||
select{}
|
||||
|
Loading…
x
Reference in New Issue
Block a user