chore: add devcontainer configuration (#371)

This commit is contained in:
Chris Cunningham 2023-09-12 12:46:48 +02:00 committed by GitHub
parent 3a029c123e
commit e947fb2bbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
.devcontainer.json Normal file
View File

@ -0,0 +1,14 @@
{
"name": "Go",
"image": "mcr.microsoft.com/devcontainers/go:1-1.20-bullseye",
"customizations": {
"vscode": {
"extensions": [
"golang.Go"
]
}
},
"postStartCommand": {
"safe-dir": "git config --global --add safe.directory ${containerWorkspaceFolder}"
}
}