mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-26 17:19:17 +08:00
Fixed source code formatting with go fmt (spaces to tabs)
This commit is contained in:
+4
-4
@@ -155,11 +155,11 @@ func main() {
|
|||||||
|
|
||||||
l.SetFormat("{{.Status}} | {{.Duration}} | {{.Hostname}} | {{.Method}} {{.Path}} \n")
|
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 {
|
if !*verbose {
|
||||||
standardLogger.SetOutput(ioutil.Discard)
|
standardLogger.SetOutput(ioutil.Discard)
|
||||||
}
|
}
|
||||||
|
|
||||||
l.ALogger = standardLogger
|
l.ALogger = standardLogger
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user