fix wrong code

This commit is contained in:
Xargin 2016-09-18 21:26:46 +08:00
parent 9a1312e8ad
commit fa0bc79a25

View File

@ -9,7 +9,7 @@ func main() {
tick := time.Tick(1 * time.Second) tick := time.Tick(1 * time.Second)
for countdown := 10; countdown > 0; countdown-- { for countdown := 10; countdown > 0; countdown-- {
fmt.Println(countdown) fmt.Println(countdown)
j<-tick <-tick
} }
launch() launch()
} }