fix: build flag error

This commit is contained in:
Aliberk Sandıkçı 2023-08-31 19:50:35 +03:00
parent 2ec1eb4fdf
commit c1bc30d830
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1
3 changed files with 5 additions and 2 deletions

3
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,3 @@
{
"go.buildFlags": ["-tags=linux"],
}

View file

@ -1,4 +1,4 @@
//go:build linux
//go:build linux && !windows
package main

View file

@ -1,4 +1,4 @@
//go:build linux
//go:build linux && !windows
package osinfo