소스 검색

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 (