warc/header.go | 8 -------- diff --git a/warc/header.go b/warc/header.go index 388bf0926117e08c7cecb7a96fb371e2986fe8b4..61c18bd9b543e87728470c85b3c255b95475cd05 100644 --- a/warc/header.go +++ b/warc/header.go @@ -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) }