bump golangci-lint (#784)

This commit is contained in:
Alessandro Ros
2025-05-23 14:51:33 +02:00
committed by GitHub
parent 2694ed941f
commit b1804d77e8
72 changed files with 289 additions and 211 deletions

View File

@@ -6,11 +6,7 @@ import (
func readKey(str string, separator byte) (string, string) {
i := 0
for {
if i >= len(str) || str[i] == '=' || str[i] == separator {
break
}
for i < len(str) && str[i] != '=' && str[i] != separator {
i++
}
return str[:i], str[i:]