fix: build flag error
This commit is contained in:
parent
2ec1eb4fdf
commit
c1bc30d830
3 changed files with 5 additions and 2 deletions
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"go.buildFlags": ["-tags=linux"],
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
//go:build linux
|
//go:build linux && !windows
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:build linux
|
//go:build linux && !windows
|
||||||
|
|
||||||
package osinfo
|
package osinfo
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue