Skip to content
This repository has been archived by the owner on Apr 11, 2021. It is now read-only.

Commit

Permalink
Idiomatic formatting changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Hnatiw authored and yanc0 committed May 11, 2017
1 parent ad6969f commit e132de8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions beeping.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ package main
import (
"crypto/tls"
"flag"
"github.com/gin-gonic/gin"
"github.com/oschwald/geoip2-golang"
"github.com/tcnksm/go-httpstat"
"github.com/yanc0/beeping/sslcheck"
"io/ioutil"
"log"
"net"
Expand All @@ -15,6 +11,11 @@ import (
"os"
"strings"
"time"

"github.com/gin-gonic/gin"
"github.com/oschwald/geoip2-golang"
"github.com/tcnksm/go-httpstat"
"github.com/yanc0/beeping/sslcheck"
)

var VERSION = "0.5.0"
Expand Down Expand Up @@ -59,7 +60,7 @@ type Response struct {
HTTPStatus string `json:"http_status"`
HTTPStatusCode int `json:"http_status_code"`
HTTPBodyPattern bool `json:"http_body_pattern"`
HTTPHeader bool `json:"http_header"`
HTTPHeader bool `json:"http_header"`
HTTPRequestTime int64 `json:"http_request_time"`

InstanceName string `json:"instance_name"`
Expand Down Expand Up @@ -281,4 +282,4 @@ func splitCheckHeader(header string) (string, string) {
return strings.TrimSpace(h[0]), strings.TrimSpace(h[1])
}
return "", ""
}
}

0 comments on commit e132de8

Please sign in to comment.