build: Opt-in to building rather than opt-out
This commit is contained in:
parent
b2d5b66508
commit
796ce7bdd7
|
@ -1,4 +1,4 @@
|
|||
// +build !windows !freebsd
|
||||
// +build linux darwin openbsd solaris
|
||||
|
||||
package module
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// +build freebsd
|
||||
|
||||
package module
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// +build windows
|
||||
|
||||
package module
|
||||
|
||||
// no syscall.Stat_t on windows, return 0 for inodes
|
||||
|
|
Loading…
Reference in New Issue