mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2024-12-24 22:08:57 +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)
|
||||
for countdown := 10; countdown > 0; countdown-- {
|
||||
fmt.Println(countdown)
|
||||
j<-tick
|
||||
<-tick
|
||||
}
|
||||
launch()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user