From cf5eba7dfdefae2d33eb00af1e805bc31f6c4151 Mon Sep 17 00:00:00 2001 From: Felix Kollmann Date: Tue, 3 Apr 2018 04:47:29 +0200 Subject: [PATCH] Simplified file structure --- terminal_bsd.go | 3 +++ terminal_linux.go | 3 +++ text_formatter_windows.go => terminal_windows.go | 0 text_formatter_nonwindows.go | 6 ------ 4 files changed, 6 insertions(+), 6 deletions(-) rename text_formatter_windows.go => terminal_windows.go (100%) delete mode 100644 text_formatter_nonwindows.go 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) { -}