From b5d230d47ac09a6596ced4bdda586829f0212f31 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Mon, 29 May 2023 15:59:37 +0000 Subject: [PATCH] chore(dev): set build tag as `linux` for cross development --- .devcontainer/devcontainer.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f277c58c..7376684f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -46,16 +46,13 @@ } }, "gopls": { - "build.buildFlags": [ - "-tags", - "" - ], "usePlaceholders": false, "staticcheck": true }, "go.lintTool": "golangci-lint", "go.lintOnSave": "package", "editor.formatOnSave": true, + "go.buildTags": "linux", "go.toolsEnvVars": { "CGO_ENABLED": "0" },