I'm just starting with GO and I understand that SCANF uses spaces as a separator in GO.
fmt.Scanf("%s",&input)
I cant really find a way to accepts inputs that contain spaces as valid characters.
you can use bufio.Reader and os.Stdin:
import(
"bufio"
"os"
)
in := bufio.NewReader(os.Stdin)
line, err := in.ReadString('\n')