mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2024-12-25 14:28:58 +00:00
fix wrong code
This commit is contained in:
parent
9a1312e8ad
commit
fa0bc79a25
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user