aboutsummaryrefslogtreecommitdiff
path: root/weed/util
diff options
context:
space:
mode:
Diffstat (limited to 'weed/util')
-rw-r--r--weed/util/constants_4bytes.go1
-rw-r--r--weed/util/constants_5bytes.go1
-rw-r--r--weed/util/file_util_non_posix.go1
-rw-r--r--weed/util/file_util_posix.go1
-rw-r--r--weed/util/grace/signal_handling.go1
-rw-r--r--weed/util/grace/signal_handling_notsupported.go1
6 files changed, 6 insertions, 0 deletions
diff --git a/weed/util/constants_4bytes.go b/weed/util/constants_4bytes.go
index a29d9d3b0..187e33909 100644
--- a/weed/util/constants_4bytes.go
+++ b/weed/util/constants_4bytes.go
@@ -1,3 +1,4 @@
+//go:build !5BytesOffset
// +build !5BytesOffset
package util
diff --git a/weed/util/constants_5bytes.go b/weed/util/constants_5bytes.go
index 91ce4066f..7c6a158cf 100644
--- a/weed/util/constants_5bytes.go
+++ b/weed/util/constants_5bytes.go
@@ -1,3 +1,4 @@
+//go:build 5BytesOffset
// +build 5BytesOffset
package util
diff --git a/weed/util/file_util_non_posix.go b/weed/util/file_util_non_posix.go
index ffcfef6d5..29aecffa6 100644
--- a/weed/util/file_util_non_posix.go
+++ b/weed/util/file_util_non_posix.go
@@ -1,3 +1,4 @@
+//go:build linux || darwin || freebsd || netbsd || openbsd || plan9 || solaris || zos
// +build linux darwin freebsd netbsd openbsd plan9 solaris zos
package util
diff --git a/weed/util/file_util_posix.go b/weed/util/file_util_posix.go
index 22ca60b3b..0bec8abad 100644
--- a/weed/util/file_util_posix.go
+++ b/weed/util/file_util_posix.go
@@ -1,3 +1,4 @@
+//go:build windows
// +build windows
package util
diff --git a/weed/util/grace/signal_handling.go b/weed/util/grace/signal_handling.go
index 7cca46764..fc7afcad9 100644
--- a/weed/util/grace/signal_handling.go
+++ b/weed/util/grace/signal_handling.go
@@ -1,3 +1,4 @@
+//go:build !plan9
// +build !plan9
package grace
diff --git a/weed/util/grace/signal_handling_notsupported.go b/weed/util/grace/signal_handling_notsupported.go
index 5335915a1..de898159a 100644
--- a/weed/util/grace/signal_handling_notsupported.go
+++ b/weed/util/grace/signal_handling_notsupported.go
@@ -1,3 +1,4 @@
+//go:build plan9
// +build plan9
package grace