go fmt. vet

This commit is contained in:
Jon Lundy
2018-06-26 10:51:21 -06:00
parent 871790de23
commit 7e943c8b4d
6 changed files with 16 additions and 14 deletions

View File

@@ -72,7 +72,7 @@ func init() {
}
if args["-v"].(int) == 2 {
log.SetVerbose(log.Vdebug)
log.SetFlags(log.LstdFlags|log.Lshortfile)
log.SetFlags(log.LstdFlags | log.Lshortfile)
log.Debug("Debug Logging.")
}

View File

@@ -27,13 +27,13 @@
package main // import "sour.is/x/paste/cmd/paste"
import (
"os"
"os/signal"
_ "sour.is/x/paste/src/docs"
_ "sour.is/x/paste/src/routes"
"sour.is/x/toolbox/httpsrv"
"os"
"os/signal"
"syscall"
"sour.is/x/toolbox/log"
"syscall"
)
func main() {