From 394686c9ae5e8de9befb6d63d94c9ba4a11313f0 Mon Sep 17 00:00:00 2001 From: sammyette Date: Fri, 19 Jul 2024 09:21:28 -0400 Subject: [PATCH] fix: use new build tags --- execfile_unix.go | 2 +- execfile_windows.go | 2 +- init_windows.go | 2 +- job_unix.go | 3 ++- job_windows.go | 2 +- pprof.go | 2 +- signal_unix.go | 2 +- signal_windows.go | 2 +- vars_darwin.go | 2 +- vars_unix.go | 2 +- vars_windows.go | 2 +- 11 files changed, 12 insertions(+), 11 deletions(-) diff --git a/execfile_unix.go b/execfile_unix.go index fd83f56..82c738b 100644 --- a/execfile_unix.go +++ b/execfile_unix.go @@ -1,4 +1,4 @@ -// +build unix +//go:build unix package main diff --git a/execfile_windows.go b/execfile_windows.go index 4b3feef..3d6ef61 100644 --- a/execfile_windows.go +++ b/execfile_windows.go @@ -1,4 +1,4 @@ -// +build windows +//go:build windows package main diff --git a/init_windows.go b/init_windows.go index 825069d..e76629b 100644 --- a/init_windows.go +++ b/init_windows.go @@ -1,4 +1,4 @@ -// +build windows +//go:build windows package main diff --git a/job_unix.go b/job_unix.go index 1cfdd57..0a038b1 100644 --- a/job_unix.go +++ b/job_unix.go @@ -1,4 +1,5 @@ -// +build darwin unix +//go:build unix + package main import ( diff --git a/job_windows.go b/job_windows.go index 140a5d1..26818b5 100644 --- a/job_windows.go +++ b/job_windows.go @@ -1,4 +1,4 @@ -// +build windows +//go:build windows package main diff --git a/pprof.go b/pprof.go index 977eeb0..ac4ed55 100644 --- a/pprof.go +++ b/pprof.go @@ -1,4 +1,4 @@ -// +build pprof +//go:build pprof package main diff --git a/signal_unix.go b/signal_unix.go index 921c4b8..1564d93 100644 --- a/signal_unix.go +++ b/signal_unix.go @@ -1,4 +1,4 @@ -// +build unix +//go:build unix package main diff --git a/signal_windows.go b/signal_windows.go index 42a9fff..2ed3370 100644 --- a/signal_windows.go +++ b/signal_windows.go @@ -1,4 +1,4 @@ -// +build windows +//go:build windows package main diff --git a/vars_darwin.go b/vars_darwin.go index 8ec83ba..43215d5 100644 --- a/vars_darwin.go +++ b/vars_darwin.go @@ -1,4 +1,4 @@ -// +build darwin +//go:build darwin package main diff --git a/vars_unix.go b/vars_unix.go index 04a7a91..ae397cf 100644 --- a/vars_unix.go +++ b/vars_unix.go @@ -1,4 +1,4 @@ -// +build unix +//go:build unix package main diff --git a/vars_windows.go b/vars_windows.go index d1bd7b6..f724fc2 100644 --- a/vars_windows.go +++ b/vars_windows.go @@ -1,4 +1,4 @@ -// +build windows +//go:build windows package main