Yasuhiro Matsumoto 8 лет назад
Родитель
Сommit
941b50ebc6
2 измененных файлов с 4 добавлено и 0 удалено
  1. 2 0
      colorable_appengine.go
  2. 2 0
      colorable_others.go

+ 2 - 0
colorable_appengine.go

@@ -5,6 +5,8 @@ package colorable
 import (
 	"io"
 	"os"
+
+	_ "github.com/mattn/go-isatty"
 )
 
 // NewColorable return new instance of Writer which handle escape sequence.

+ 2 - 0
colorable_others.go

@@ -6,6 +6,8 @@ package colorable
 import (
 	"io"
 	"os"
+
+	_ "github.com/mattn/go-isatty"
 )
 
 // NewColorable return new instance of Writer which handle escape sequence.