build: Opt-in to building rather than opt-out

This commit is contained in:
James Nugent 2016-07-29 18:40:31 -05:00
parent b2d5b66508
commit 796ce7bdd7
3 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
// +build !windows !freebsd
// +build linux darwin openbsd solaris
package module

View File

@ -1,3 +1,5 @@
// +build freebsd
package module
import (

View File

@ -1,3 +1,5 @@
// +build windows
package module
// no syscall.Stat_t on windows, return 0 for inodes