Skip to content

Commit

Permalink
Another round of go fmt changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Ross committed Nov 17, 2017
1 parent f10cecb commit 140b317
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions util/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"os"

"fmt"
"fmt"
"github.com/fatih/color"
spun "github.com/slok/gospinner"
)
Expand All @@ -16,10 +16,10 @@ var logger *RigLogger
// logChannels defines various log channels. This nests within the RigLogger to expose the loggers directly for
// advanced use cases.
type logChannels struct {
Info *log.Logger
Warning *log.Logger
Error *log.Logger
Verbose *log.Logger
Info *log.Logger
Warning *log.Logger
Error *log.Logger
Verbose *log.Logger
}

// RigLogger is the global logger object
Expand Down Expand Up @@ -102,7 +102,7 @@ func (log *RigLogger) Warning(format string, a ...interface{}) {

// Warn is a convenience wrapper for Warning.
func (log *RigLogger) Warn(format string, a ...interface{}) {
log.Warning(format, a...)
log.Warning(format, a...)
}

// Error indicates an error in the spinner-associated task.
Expand Down

0 comments on commit 140b317

Please sign in to comment.