gofmt fixes.
This commit is contained in:
parent
44af303de6
commit
990b7071d0
3 changed files with 11 additions and 11 deletions
6
main.go
6
main.go
|
@ -60,15 +60,15 @@ func main() {
|
|||
accessLogEntries := make(chan LogEntry, 10)
|
||||
go func() {
|
||||
for {
|
||||
entry := <- accessLogEntries
|
||||
entry := <-accessLogEntries
|
||||
writeLogEntry(accessLogFile, entry)
|
||||
}
|
||||
}()
|
||||
errorLogEntries := make(chan string, 10)
|
||||
go func() {
|
||||
for {
|
||||
message := <- errorLogEntries
|
||||
errorLogFile.WriteString( time.Now().Format(time.RFC3339) + " " + message + "\n")
|
||||
message := <-errorLogEntries
|
||||
errorLogFile.WriteString(time.Now().Format(time.RFC3339) + " " + message + "\n")
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
Loading…
Reference in a new issue