Add a checkTerminal for nacl to support running on play.golang.org

This commit is contained in:
Nicolas Lepage
2019-05-14 09:13:07 +02:00
parent f0375eb5b5
commit 1bc909a4f8
2 changed files with 12 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
// +build nacl
package logrus
import (
"io"
)
func checkIfTerminal(w io.Writer) bool {
return false
}
+1 -1
View File
@@ -1,4 +1,4 @@
// +build !appengine,!js,!windows
// +build !appengine,!js,!windows,!nacl
package logrus