fmt.Scanf("%v") will only parse valid integer literals, and as you can see in the languages spec about integer literals, there is simply no way to express a binary integer.
2 Likes
fmt.Scanf("%v") will only parse valid integer literals, and as you can see in the languages spec about integer literals, there is simply no way to express a binary integer.