diff --git a/mount/flags_darwin.go b/mount/flags_unsupported.go similarity index 78% rename from mount/flags_darwin.go rename to mount/flags_unsupported.go index e89d5e7..d0b59a6 100644 --- a/mount/flags_darwin.go +++ b/mount/flags_unsupported.go @@ -1,3 +1,4 @@ +// +build: !linux !amd64 package mount func parseOptions(options string) (int, string) { diff --git a/mount/mounter_darwin.go b/mount/mounter_unsupported.go similarity index 88% rename from mount/mounter_darwin.go rename to mount/mounter_unsupported.go index 7615f94..1dd7458 100644 --- a/mount/mounter_darwin.go +++ b/mount/mounter_unsupported.go @@ -1,3 +1,4 @@ +// +build: !linux !amd64 package mount func mount(device, target, mType string, flag uintptr, data string) error { diff --git a/netlink/netlink_darwin.go b/netlink/netlink_unsupported.go similarity index 96% rename from netlink/netlink_darwin.go rename to netlink/netlink_unsupported.go index 298508a..3fa0c1e 100644 --- a/netlink/netlink_darwin.go +++ b/netlink/netlink_unsupported.go @@ -1,3 +1,4 @@ +// +build: !linux !amd64 package netlink import (