mirror of
https://github.com/adnanh/webhook.git
synced 2025-05-15 10:04:44 +00:00
Fixed source code formatting with go fmt (spaces to tabs)
This commit is contained in:
parent
147c95dd8b
commit
d52d7bde1c
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue