gofmt -s all the things! (#983)

This commit is contained in:
Tom Limoncelli 2020-12-01 08:01:44 -05:00 committed by GitHub
parent f32218a2f9
commit b832a92578
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ func splitChunks(buf string, lim int) []string {
chunks = append(chunks, chunk)
}
if len(buf) > 0 {
chunks = append(chunks, buf[:len(buf)])
chunks = append(chunks, buf[:])
}
return chunks
}