diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..d34daa0 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "go.buildFlags": ["-tags=linux"], +} \ No newline at end of file diff --git a/cmd/ahenk-go/main_linux.go b/cmd/ahenk-go/main_linux.go index 5793820..07b70c1 100644 --- a/cmd/ahenk-go/main_linux.go +++ b/cmd/ahenk-go/main_linux.go @@ -1,4 +1,4 @@ -//go:build linux +//go:build linux && !windows package main diff --git a/pkg/osinfo/os_linux.go b/pkg/osinfo/os_linux.go index c80700c..735a819 100644 --- a/pkg/osinfo/os_linux.go +++ b/pkg/osinfo/os_linux.go @@ -1,4 +1,4 @@ -//go:build linux +//go:build linux && !windows package osinfo