Open richardspirit opened 3 years ago
strings.TrimSuff("\r\n") not removing \n in linux
I hate this solution but it may have to work for now
multi = strings.TrimSuffix(strings.TrimSuffix(multi, "\r"), "\n")
strings.TrimSuff("\r\n") not removing \n in linux