From 8e764ae9f00cc730d1c2de1978f47d9b2101b868 Mon Sep 17 00:00:00 2001 From: nxshock Date: Wed, 22 Sep 2021 19:04:46 +0500 Subject: [PATCH] Fix duplicated import --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index cb166ec..68b7702 100644 --- a/main.go +++ b/main.go @@ -7,13 +7,12 @@ import ( "syscall" "time" - "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus" ) func init() { log.SetOutput(os.Stderr) - log.SetFormatter(&logrus.TextFormatter{ForceColors: true, DisableTimestamp: true}) + log.SetFormatter(&log.TextFormatter{ForceColors: true, DisableTimestamp: true}) log.SetLevel(log.ErrorLevel) err := initConfig()