From f3be5a1f201412f416316ac80b843dd9d978685f Mon Sep 17 00:00:00 2001 From: Christophe Vila Date: Fri, 25 Apr 2025 23:32:19 +0200 Subject: [PATCH] updated devcontainer.json --- .devcontainer/devcontainer.json | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 16104e0..558f4ef 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,14 +1,15 @@ { - "name": "Go Dev Container", - "build": { - "dockerfile": "Dockerfile" + "name": "GoLand Dev Container", + "image": "golang:1.22", + "features": {}, + "customizations": { + "jetbrains": { + "ide": "GoLand" + } }, - "settings": { - "go.gopath": "/go" - }, - "extensions": [ - "golang.Go" + "mounts": [ + "source=${localWorkspaceFolder},target=/workspace,type=bind" ], - "forwardPorts": [8080], - "postCreateCommand": "go mod tidy" + "workspaceFolder": "/workspace" } +