Merge pull request #481 from darrenmcc/import-io

Fixed import
This commit is contained in:
Simon Eskildsen 2017-02-27 07:05:40 -05:00 committed by GitHub
commit aee0dbac51
3 changed files with 5 additions and 2 deletions

View File

@ -2,6 +2,8 @@
package logrus package logrus
import "io"
// IsTerminal returns true if stderr's file descriptor is a terminal. // IsTerminal returns true if stderr's file descriptor is a terminal.
func IsTerminal(f io.Writer) bool { func IsTerminal(f io.Writer) bool {
return true return true

View File

@ -3,6 +3,7 @@
package logrus package logrus
import ( import (
"io"
"os" "os"
"golang.org/x/sys/unix" "golang.org/x/sys/unix"