From d52d7bde1cd63992bb4dba4945b03076a6eb760a Mon Sep 17 00:00:00 2001 From: Ivan Pesin Date: Fri, 25 Aug 2017 23:30:08 -0400 Subject: [PATCH] Fixed source code formatting with go fmt (spaces to tabs) --- webhook.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webhook.go b/webhook.go index 1034290..2567bcc 100644 --- a/webhook.go +++ b/webhook.go @@ -155,11 +155,11 @@ func main() { l.SetFormat("{{.Status}} | {{.Duration}} | {{.Hostname}} | {{.Method}} {{.Path}} \n") - standardLogger := log.New(os.Stdout, "[webhook] ", log.Ldate|log.Ltime) + standardLogger := log.New(os.Stdout, "[webhook] ", log.Ldate|log.Ltime) - if !*verbose { - standardLogger.SetOutput(ioutil.Discard) - } + if !*verbose { + standardLogger.SetOutput(ioutil.Discard) + } l.ALogger = standardLogger