How do I use the fmt.Scanf function in Go to get an integer input from the standard input?
fmt.Scanf
If this can't be done using fmt.Scanf, what's the best way to read a single integer?
2.1m questions
2.1m answers
60 comments
57.0k users