chore(dev): set build tag as linux for cross development
This commit is contained in:
@@ -46,16 +46,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"gopls": {
|
"gopls": {
|
||||||
"build.buildFlags": [
|
|
||||||
"-tags",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"usePlaceholders": false,
|
"usePlaceholders": false,
|
||||||
"staticcheck": true
|
"staticcheck": true
|
||||||
},
|
},
|
||||||
"go.lintTool": "golangci-lint",
|
"go.lintTool": "golangci-lint",
|
||||||
"go.lintOnSave": "package",
|
"go.lintOnSave": "package",
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
|
"go.buildTags": "linux",
|
||||||
"go.toolsEnvVars": {
|
"go.toolsEnvVars": {
|
||||||
"CGO_ENABLED": "0"
|
"CGO_ENABLED": "0"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user