aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com/mattn/go-colorable/colorable_others.go
diff options
context:
space:
mode:
Diffstat (limited to 'Godeps/_workspace/src/github.com/mattn/go-colorable/colorable_others.go')
-rw-r--r--Godeps/_workspace/src/github.com/mattn/go-colorable/colorable_others.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/Godeps/_workspace/src/github.com/mattn/go-colorable/colorable_others.go b/Godeps/_workspace/src/github.com/mattn/go-colorable/colorable_others.go
new file mode 100644
index 000000000..219f02f62
--- /dev/null
+++ b/Godeps/_workspace/src/github.com/mattn/go-colorable/colorable_others.go
@@ -0,0 +1,16 @@
+// +build !windows
+
+package colorable
+
+import (
+ "io"
+ "os"
+)
+
+func NewColorableStdout() io.Writer {
+ return os.Stdout
+}
+
+func NewColorableStderr() io.Writer {
+ return os.Stderr
+}