From a8b793a1fce082169f0d1f735ab1a3b63261398c Mon Sep 17 00:00:00 2001 From: Anton Tiurin Date: Tue, 10 Mar 2015 19:06:14 +0300 Subject: [PATCH] gofmt --- terminal_openbsd.go | 1 - writer.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/terminal_openbsd.go b/terminal_openbsd.go index d238bfa..af609a5 100644 --- a/terminal_openbsd.go +++ b/terminal_openbsd.go @@ -1,4 +1,3 @@ - package logrus import "syscall" diff --git a/writer.go b/writer.go index 90d3e01..1e30b1c 100644 --- a/writer.go +++ b/writer.go @@ -6,7 +6,7 @@ import ( "runtime" ) -func (logger *Logger) Writer() (*io.PipeWriter) { +func (logger *Logger) Writer() *io.PipeWriter { reader, writer := io.Pipe() go logger.writerScanner(reader)