]> Sergey Matveev's repositories - tofuproxy.git/commitdiff
Unused function
authorSergey Matveev <stargrave@stargrave.org>
Sat, 12 Aug 2023 12:10:05 +0000 (15:10 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 12 Aug 2023 12:10:44 +0000 (15:10 +0300)
warc/header.go

index 388bf0926117e08c7cecb7a96fb371e2986fe8b4..61c18bd9b543e87728470c85b3c255b95475cd05 100644 (file)
@@ -22,14 +22,6 @@ import "strings"
 
 type Header map[string]string
 
-func splitKeyValue(line string) (string, string) {
-       parts := strings.SplitN(line, ":", 2)
-       if len(parts) != 2 {
-               return "", ""
-       }
-       return parts[0], strings.TrimSpace(parts[1])
-}
-
 func NewHeader() Header {
        return make(map[string]string)
 }