diff --git a/cmd/gorilla/admin.go b/cmd/gorilla/admin.go index 6e82e99..2e61b29 100644 --- a/cmd/gorilla/admin.go +++ b/cmd/gorilla/admin.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package main diff --git a/cmd/gorilla/admin_stub.go b/cmd/gorilla/admin_stub.go index 3fcf376..6237ebd 100644 --- a/cmd/gorilla/admin_stub.go +++ b/cmd/gorilla/admin_stub.go @@ -1,5 +1,6 @@ // Without an OS specific build, go tools will try to include Windows libraries and fail +//go:build !windows // +build !windows package main diff --git a/pkg/status/properties.go b/pkg/status/properties.go index de05899..106a377 100644 --- a/pkg/status/properties.go +++ b/pkg/status/properties.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package status diff --git a/pkg/status/properties_stub.go b/pkg/status/properties_stub.go index 5a8f95d..f4c5988 100644 --- a/pkg/status/properties_stub.go +++ b/pkg/status/properties_stub.go @@ -1,5 +1,6 @@ // Without a darwin specific build, go tools will try to include Windows libraries and fail +//go:build !windows // +build !windows package status diff --git a/pkg/status/registry.go b/pkg/status/registry.go index 06c87b4..54bbee4 100644 --- a/pkg/status/registry.go +++ b/pkg/status/registry.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package status diff --git a/pkg/status/registry_stub.go b/pkg/status/registry_stub.go index 9d67ee0..a936caa 100644 --- a/pkg/status/registry_stub.go +++ b/pkg/status/registry_stub.go @@ -1,5 +1,6 @@ // Without a darwin specific build, go tools will try to include Windows libraries and fail +//go:build !windows // +build !windows package status