Please sign in to comment.
cmd/Go-Package-Store: Use strings.TrimSuffix(s, "\n") instead of trim…
….LastNewline(s). This is simpler and more readable, since package strings is a part of the standard library. Done with: gofmt -w -r 'trim.LastNewline(s) -> strings.TrimSuffix(s, "\n")' . goimports -w .
- Loading branch information...