I\'m trying to read an entire line from the console (including whitespace), then process it. Using bufio.ReadString, the newline character is read together with the input, s
Go strings are not null terminated, and to remove the last char of a string you can simply do:
s = s[:len(s)-1]