Fix duplicated import

This commit is contained in:
nxshock 2021-09-22 19:04:46 +05:00
parent 2f0147dc25
commit 8e764ae9f0

View File

@ -7,13 +7,12 @@ import (
"syscall" "syscall"
"time" "time"
"github.com/sirupsen/logrus"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )
func init() { func init() {
log.SetOutput(os.Stderr) log.SetOutput(os.Stderr)
log.SetFormatter(&logrus.TextFormatter{ForceColors: true, DisableTimestamp: true}) log.SetFormatter(&log.TextFormatter{ForceColors: true, DisableTimestamp: true})
log.SetLevel(log.ErrorLevel) log.SetLevel(log.ErrorLevel)
err := initConfig() err := initConfig()