removal of unwanted variable
This commit is contained in:
parent
d8b255cf7b
commit
6805c6cdb8
@ -32,7 +32,6 @@ func main() {
|
|||||||
// 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` code requires we press a key
|
||||||
// before the program exits.
|
// before the program exits.
|
||||||
var input string
|
fmt.Scanln()
|
||||||
fmt.Scanln(&input)
|
|
||||||
fmt.Println("done")
|
fmt.Println("done")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user