How to remove the last character of a string in Golang | Hacker News Reader