mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2024-11-05 05:53:45 +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