init
This commit is contained in:
23
.devcontainer/devcontainer.json
Normal file
23
.devcontainer/devcontainer.json
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user