Skip to content

Commit

Permalink
removed dot import for aurora
Browse files Browse the repository at this point in the history
  • Loading branch information
indiependente committed Oct 7, 2018
1 parent ddfe7dc commit bccd07f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/indiependente/goiptv/v2"
"github.com/indiependente/gospinner"
flags "github.com/jessevdk/go-flags"
. "github.com/logrusorgru/aurora"
au "github.com/logrusorgru/aurora"
log "github.com/sirupsen/logrus"
)

Expand Down Expand Up @@ -38,9 +38,9 @@ func main() {
plural = "s"
}
if numPlaylists == 0 {
fmt.Println(Red("\nNo playlists found! ⛔️").Bold())
fmt.Println(au.Red("\nNo playlists found! ⛔️").Bold())
} else {
fmt.Println(Sprintf(Bold("\nSuccessfully downloaded %d playlist%s in %.2f seconds! ⚡️"), Green(numPlaylists), plural, Blue(timeElapsed)))
fmt.Println(au.Sprintf(au.Bold("\nSuccessfully downloaded %d playlist%s in %.2f seconds! ⚡️"), au.Green(numPlaylists), plural, au.Blue(timeElapsed)))
}
}

Expand Down Expand Up @@ -90,15 +90,15 @@ func init() {
}

if opts.Debug {
fmt.Println(Cyan("Debug mode active"))
fmt.Println(au.Cyan("Debug mode active"))
log.SetLevel(log.DebugLevel)
} else {
log.SetLevel(log.ErrorLevel)
}
log.SetFormatter(&log.JSONFormatter{})

if len(opts.Channels) == 1 && strings.EqualFold(opts.Channels[0], "") {
fmt.Println(Brown("No tv channel argument provided. Defaults research to EXTINF. 🤓"))
fmt.Println(au.Brown("No tv channel argument provided. Defaults research to EXTINF. 🤓"))
}

}

0 comments on commit bccd07f

Please # to comment.