mirror of
https://github.com/nxshock/simplefileshare.git
synced 2025-01-18 11:11:10 +05:00
Fix duplicated import
This commit is contained in:
parent
2f0147dc25
commit
8e764ae9f0
3
main.go
3
main.go
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user