remove print

This commit is contained in:
syumai 2022-05-20 00:12:54 +09:00
parent f12e359ef0
commit 831e8ffb73

View File

@ -1,7 +1,6 @@
package workers package workers
import ( import (
"fmt"
"io" "io"
"net/http" "net/http"
"net/url" "net/url"
@ -30,7 +29,6 @@ func toHeader(headers js.Value) http.Header {
entry := entries.Index(i) entry := entries.Index(i)
key := entry.Index(0).String() key := entry.Index(0).String()
values := entry.Index(1).String() values := entry.Index(1).String()
fmt.Printf("key: %s, values: %s\n", key, values)
for _, value := range strings.Split(values, ",") { for _, value := range strings.Split(values, ",") {
h.Add(key, value) h.Add(key, value)
} }