From 2f95b420e796b43d8df523c60ce91cfbf35dd2e7 Mon Sep 17 00:00:00 2001 From: ymmt2005 Date: Thu, 1 Sep 2016 22:51:27 +0900 Subject: [PATCH] gofmt clean. --- http_tunnel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_tunnel.go b/http_tunnel.go index 4a3956c..0830c1f 100644 --- a/http_tunnel.go +++ b/http_tunnel.go @@ -39,7 +39,7 @@ func httpDialType(u *url.URL, forward proxy.Dialer) (proxy.Dialer, error) { up := uu.Username() + ":" + passwd authz := "Basic " + base64.StdEncoding.EncodeToString([]byte(up)) header = map[string][]string{ - "Proxy-Authorization": []string{authz}, + "Proxy-Authorization": {authz}, } } return &httpDialer{