فهرست منبع

Make buildable on Windows + goapp

Go on Google AppEngine restricts importing syscall. It causes build failure testing applications using go-colorable (especially when using a framework using go-colorable) on Windows.
ikedam 8 سال پیش
والد
کامیت
77c725d707
2فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 1 1
      colorable_others.go
  2. 2 0
      colorable_windows.go

+ 1 - 1
colorable_others.go

@@ -1,4 +1,4 @@
-// +build !windows
+// +build !windows OR appengine
 
 package colorable
 

+ 2 - 0
colorable_windows.go

@@ -1,3 +1,5 @@
+// +build !appengine
+
 package colorable
 
 import (