4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-06-26 16:39:24 +00:00

Make gocritic linter happy

This commit is contained in:
Wim
2018-11-08 00:46:34 +01:00
parent 8d117cb0a4
commit 399789811e
6 changed files with 10 additions and 11 deletions

View File

@ -44,7 +44,7 @@ func SplitStringLength(input string, length int) string {
a := []rune(input)
str := ""
for i, r := range a {
str = str + string(r)
str += string(r)
if i > 0 && (i+1)%length == 0 {
str += "\n"
}