This commit is contained in:
panshuxiao
2025-04-06 19:52:57 +08:00
commit adefecc0bd
5 changed files with 124 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{
"name": "Go Dev Environment",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"customizations": {
"vscode": {
"settings": {
"go.toolsManagement.checkForUpdates": "local",
"go.useLanguageServer": true,
"go.gopath": "/go"
},
"extensions": [
"golang.go",
"ms-vscode.go",
]
}
},
"forwardPorts": [8080],
"postCreateCommand": "go mod tidy",
"remoteUser": "vscode"
}