1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

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

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
}