diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-12-18 04:00:04 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-12-18 04:00:04 -0500 |
commit | 92625d852a1e2a4e188bc285c2341f4c482c0469 (patch) | |
tree | 74c3cc50802faf8ea38d916c520d33e7e90914f9 /sd_daemon/log.go | |
parent | 3b1bdfbd2687e81bef85260f9cdfbf617ece3527 (diff) |
gofmt
Diffstat (limited to 'sd_daemon/log.go')
-rw-r--r-- | sd_daemon/log.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd_daemon/log.go b/sd_daemon/log.go index 76a735f..df82d4b 100644 --- a/sd_daemon/log.go +++ b/sd_daemon/log.go @@ -17,12 +17,12 @@ package sd_daemon import ( + "fmt" "io" + "log/syslog" "os" "strings" "sync" - "fmt" - "log/syslog" ) // Logger writes "<N>"-prefixed lines to an io.Writer, where N is a @@ -33,7 +33,7 @@ import ( // constant "Log", which uses os.Stderr as the writer. It is // implemented as a struct rather than a set of functions so that it // can be passed around as an implementation of an interface. -type Logger struct{ +type Logger struct { mu sync.Mutex out io.Writer } |