diff --git a/sysfs/class_cooling_device.go b/sysfs/class_cooling_device.go index 8927b02ac..a67067f84 100644 --- a/sysfs/class_cooling_device.go +++ b/sysfs/class_cooling_device.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/class_cooling_device_test.go b/sysfs/class_cooling_device_test.go index a94a12cc5..7555d38b6 100644 --- a/sysfs/class_cooling_device_test.go +++ b/sysfs/class_cooling_device_test.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/class_fibrechannel.go b/sysfs/class_fibrechannel.go index fec80046f..96584e74e 100644 --- a/sysfs/class_fibrechannel.go +++ b/sysfs/class_fibrechannel.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/class_fibrechannel_test.go b/sysfs/class_fibrechannel_test.go index 09ddc8dcf..569371845 100644 --- a/sysfs/class_fibrechannel_test.go +++ b/sysfs/class_fibrechannel_test.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/class_infiniband.go b/sysfs/class_infiniband.go index 80c3fcdc5..cb71824f2 100644 --- a/sysfs/class_infiniband.go +++ b/sysfs/class_infiniband.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/class_infiniband_test.go b/sysfs/class_infiniband_test.go index 5c04dd5c1..dd377a63c 100644 --- a/sysfs/class_infiniband_test.go +++ b/sysfs/class_infiniband_test.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/class_power_supply.go b/sysfs/class_power_supply.go index d6f2e2025..4ca816592 100644 --- a/sysfs/class_power_supply.go +++ b/sysfs/class_power_supply.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/class_power_supply_test.go b/sysfs/class_power_supply_test.go index cd66fc40c..a83e595f4 100644 --- a/sysfs/class_power_supply_test.go +++ b/sysfs/class_power_supply_test.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/class_powercap.go b/sysfs/class_powercap.go index 6f107255b..208e80907 100644 --- a/sysfs/class_powercap.go +++ b/sysfs/class_powercap.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/class_powercap_test.go b/sysfs/class_powercap_test.go index 66437096d..c78d1c5ef 100644 --- a/sysfs/class_powercap_test.go +++ b/sysfs/class_powercap_test.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/class_thermal.go b/sysfs/class_thermal.go index 493a53129..6b4823e9b 100644 --- a/sysfs/class_thermal.go +++ b/sysfs/class_thermal.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/class_thermal_test.go b/sysfs/class_thermal_test.go index 94af8ae96..0bce736f1 100644 --- a/sysfs/class_thermal_test.go +++ b/sysfs/class_thermal_test.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/clocksource.go b/sysfs/clocksource.go index d96c3892f..b857f750d 100644 --- a/sysfs/clocksource.go +++ b/sysfs/clocksource.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/clocksource_test.go b/sysfs/clocksource_test.go index 4fb0e9827..7c38d4b5f 100644 --- a/sysfs/clocksource_test.go +++ b/sysfs/clocksource_test.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/net_class.go b/sysfs/net_class.go index d840a520d..e6e223984 100644 --- a/sysfs/net_class.go +++ b/sysfs/net_class.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/net_class_test.go b/sysfs/net_class_test.go index 41963db32..bc219f340 100644 --- a/sysfs/net_class_test.go +++ b/sysfs/net_class_test.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/system_cpu.go b/sysfs/system_cpu.go index ddb9ebfe3..a4e616765 100644 --- a/sysfs/system_cpu.go +++ b/sysfs/system_cpu.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/system_cpu_test.go b/sysfs/system_cpu_test.go index eb6ab7a5d..522b58b56 100644 --- a/sysfs/system_cpu_test.go +++ b/sysfs/system_cpu_test.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows +// +build linux package sysfs diff --git a/sysfs/vmstat_numa.go b/sysfs/vmstat_numa.go index d71cd4a15..f33ef084a 100644 --- a/sysfs/vmstat_numa.go +++ b/sysfs/vmstat_numa.go @@ -11,6 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build linux + package sysfs import ( diff --git a/sysfs/vmstat_numa_test.go b/sysfs/vmstat_numa_test.go index 64977b944..81c0a1801 100644 --- a/sysfs/vmstat_numa_test.go +++ b/sysfs/vmstat_numa_test.go @@ -11,6 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build linux + package sysfs import ( diff --git a/sysfs/vulnerability.go b/sysfs/vulnerability.go index d41ecfb09..9e2d9cdbd 100644 --- a/sysfs/vulnerability.go +++ b/sysfs/vulnerability.go @@ -11,6 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build linux + package sysfs import (