diff --git a/pkgs/touchbar/api_darwin.go b/pkgs/touchbar/api_darwin.go index 64c83210..205f1590 100644 --- a/pkgs/touchbar/api_darwin.go +++ b/pkgs/touchbar/api_darwin.go @@ -1,3 +1,5 @@ +//go:build darwin + package touchbar import ( diff --git a/pkgs/touchbar/barutils/popover.go b/pkgs/touchbar/barutils/popover.go index 312faa52..e179f0b8 100644 --- a/pkgs/touchbar/barutils/popover.go +++ b/pkgs/touchbar/barutils/popover.go @@ -1,3 +1,5 @@ +//go:build darwin + package barutils import ( diff --git a/pkgs/touchbar/internal/darwin/entry.go b/pkgs/touchbar/internal/darwin/entry.go index 956e57c2..6bbf3939 100644 --- a/pkgs/touchbar/internal/darwin/entry.go +++ b/pkgs/touchbar/internal/darwin/entry.go @@ -1,3 +1,5 @@ +//go:build darwin + package darwin import ( diff --git a/pkgs/touchbar/internal/darwin/events.go b/pkgs/touchbar/internal/darwin/events.go index 88ac6d81..bb3d63b3 100644 --- a/pkgs/touchbar/internal/darwin/events.go +++ b/pkgs/touchbar/internal/darwin/events.go @@ -1,3 +1,5 @@ +//go:build darwin + package darwin import ( diff --git a/pkgs/touchbar/internal/darwin/serialize.go b/pkgs/touchbar/internal/darwin/serialize.go index 7d277ce3..b88a36e5 100644 --- a/pkgs/touchbar/internal/darwin/serialize.go +++ b/pkgs/touchbar/internal/darwin/serialize.go @@ -1,3 +1,5 @@ +//go:build darwin + package darwin import ( diff --git a/pkgs/touchbar/internal/darwin/serialize_items.go b/pkgs/touchbar/internal/darwin/serialize_items.go index 683b74a2..2713362e 100644 --- a/pkgs/touchbar/internal/darwin/serialize_items.go +++ b/pkgs/touchbar/internal/darwin/serialize_items.go @@ -1,3 +1,5 @@ +//go:build darwin + package darwin import ( diff --git a/pkgs/touchbar/internal/darwin/serialize_process.go b/pkgs/touchbar/internal/darwin/serialize_process.go index 6c90d186..82db03bc 100644 --- a/pkgs/touchbar/internal/darwin/serialize_process.go +++ b/pkgs/touchbar/internal/darwin/serialize_process.go @@ -1,3 +1,5 @@ +//go:build darwin + package darwin import ( diff --git a/pkgs/touchbar/internal/darwin/touch_bar.go b/pkgs/touchbar/internal/darwin/touch_bar.go index 0ff266bb..46befae3 100644 --- a/pkgs/touchbar/internal/darwin/touch_bar.go +++ b/pkgs/touchbar/internal/darwin/touch_bar.go @@ -1,3 +1,5 @@ +//go:build darwin + package darwin import (