richardspirit / mtga_stats

Originated as way to manage Magic The Gathering decks on MGTA so that I knew which decks were performing the best and which decks should be deleted.
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Trim Suffix problems in linux #48

Open richardspirit opened 3 years ago

richardspirit commented 3 years ago

strings.TrimSuff("\r\n") not removing \n in linux

richardspirit commented 3 years ago

I hate this solution but it may have to work for now

    multi = strings.TrimSuffix(strings.TrimSuffix(multi, "\r"), "\n")