govendor: update build instructions and fix #18

This commit is contained in:
Martin Lindhe
2016-09-01 21:10:02 +02:00
parent eebbe0015c
commit 29beaa6c3b
27 changed files with 2520 additions and 4 deletions

15
vendor/github.com/Sirupsen/logrus/terminal_solaris.go generated vendored Normal file
View File

@@ -0,0 +1,15 @@
// +build solaris,!appengine
package logrus
import (
"os"
"golang.org/x/sys/unix"
)
// IsTerminal returns true if the given file descriptor is a terminal.
func IsTerminal() bool {
_, err := unix.IoctlGetTermios(int(os.Stdout.Fd()), unix.TCGETA)
return err == nil
}