diff --git a/terminal_bsd.go b/terminal_bsd.go index 4880d13..3b20604 100644 --- a/terminal_bsd.go +++ b/terminal_bsd.go @@ -8,3 +8,6 @@ import "golang.org/x/sys/unix" const ioctlReadTermios = unix.TIOCGETA type Termios unix.Termios + +func (f *TextFormatter) initTerminal(entry *Entry) { +} diff --git a/terminal_linux.go b/terminal_linux.go index f29a009..78c4298 100644 --- a/terminal_linux.go +++ b/terminal_linux.go @@ -12,3 +12,6 @@ import "golang.org/x/sys/unix" const ioctlReadTermios = unix.TCGETS type Termios unix.Termios + +func (f *TextFormatter) initTerminal(entry *Entry) { +} diff --git a/text_formatter_windows.go b/terminal_windows.go similarity index 100% rename from text_formatter_windows.go rename to terminal_windows.go diff --git a/text_formatter_nonwindows.go b/text_formatter_nonwindows.go deleted file mode 100644 index 0c0802a..0000000 --- a/text_formatter_nonwindows.go +++ /dev/null @@ -1,6 +0,0 @@ -// +build appengine gopherjs !windows - -package logrus - -func (f *TextFormatter) initTerminal(entry *Entry) { -}