From ac74a26e7bf952370869b532359929b31ef77b5e Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 15 Mar 2020 00:42:58 +0100 Subject: formatting --- htping.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htping.go b/htping.go index ca2ee34..6476752 100644 --- a/htping.go +++ b/htping.go @@ -76,7 +76,7 @@ func newTransport() *transport { } dialer := &net.Dialer{ - Timeout: 5 * time.Second, + Timeout: 5 * time.Second, } tr.RoundTripper = &http.Transport{ @@ -162,7 +162,8 @@ func ping(url string, seq int, results chan result) { t.addr, res.Proto, res.StatusCode, - seq, dur) + seq, + dur) results <- result{dur, res.StatusCode} } -- cgit 1.4.1