Can now shorten this
This commit is contained in:
parent
6805c6cdb8
commit
36352be54c
@ -30,7 +30,7 @@ func main() {
|
|||||||
|
|
||||||
// Our two function calls are running asynchronously in
|
// Our two function calls are running asynchronously in
|
||||||
// separate goroutines now, so execution falls through
|
// separate goroutines now, so execution falls through
|
||||||
// to here. This `Scanln` code requires we press a key
|
// to here. This `Scanln` requires we press a key
|
||||||
// before the program exits.
|
// before the program exits.
|
||||||
fmt.Scanln()
|
fmt.Scanln()
|
||||||
fmt.Println("done")
|
fmt.Println("done")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user