From a42bc65a486ef798ef010e4491767e14fbb1bc70 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 3 Jan 2022 20:24:46 +0100 Subject: [PATCH] Add Go 1.17 build tags --- paths_darwin.go | 1 + paths_darwin_test.go | 1 + paths_unix.go | 1 + paths_unix_test.go | 1 + paths_windows.go | 1 + paths_windows_test.go | 1 + 6 files changed, 6 insertions(+) diff --git a/paths_darwin.go b/paths_darwin.go index b420af9..4c68f0a 100644 --- a/paths_darwin.go +++ b/paths_darwin.go @@ -1,3 +1,4 @@ +//go:build darwin // +build darwin package gap diff --git a/paths_darwin_test.go b/paths_darwin_test.go index 0fd22db..b5427cb 100644 --- a/paths_darwin_test.go +++ b/paths_darwin_test.go @@ -1,3 +1,4 @@ +//go:build darwin // +build darwin package gap diff --git a/paths_unix.go b/paths_unix.go index 4c1ec58..cef65cb 100644 --- a/paths_unix.go +++ b/paths_unix.go @@ -1,3 +1,4 @@ +//go:build !darwin && !windows // +build !darwin,!windows package gap diff --git a/paths_unix_test.go b/paths_unix_test.go index 9578e47..f8a1167 100644 --- a/paths_unix_test.go +++ b/paths_unix_test.go @@ -1,3 +1,4 @@ +//go:build !darwin && !windows // +build !darwin,!windows package gap diff --git a/paths_windows.go b/paths_windows.go index d0edfce..d274687 100644 --- a/paths_windows.go +++ b/paths_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package gap diff --git a/paths_windows_test.go b/paths_windows_test.go index 5a9a77f..4ea6f1d 100644 --- a/paths_windows_test.go +++ b/paths_windows_test.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package gap