added devcontainer
This commit is contained in:
14
.devcontainer/devcontainer.json
Normal file
14
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"name": "Go Dev Container",
|
||||||
|
"build": {
|
||||||
|
"dockerfile": "Dockerfile"
|
||||||
|
},
|
||||||
|
"settings": {
|
||||||
|
"go.gopath": "/go"
|
||||||
|
},
|
||||||
|
"extensions": [
|
||||||
|
"golang.Go"
|
||||||
|
],
|
||||||
|
"forwardPorts": [8080],
|
||||||
|
"postCreateCommand": "go mod tidy"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user