about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2020-03-15 00:42:58 +0100
committerLeah Neukirchen <leah@vuxu.org>2020-03-15 00:42:58 +0100
commitac74a26e7bf952370869b532359929b31ef77b5e (patch)
tree042d8ba1f51d3e9d80c11e5d438e32d79ee6a84a
parent10d94786ec39dc639d005134526281293cb0c802 (diff)
downloadhtping-ac74a26e7bf952370869b532359929b31ef77b5e.tar.gz
htping-ac74a26e7bf952370869b532359929b31ef77b5e.tar.xz
htping-ac74a26e7bf952370869b532359929b31ef77b5e.zip
formatting
-rw-r--r--htping.go5
1 files 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}
 }