mirror of
https://github.com/nxshock/simplefileshare.git
synced 2025-07-01 00:03:35 +05:00
Fix duplicated import
This commit is contained in:
parent
2f0147dc25
commit
8e764ae9f0
1 changed files with 1 additions and 2 deletions
3
main.go
3
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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue