Skip to content

Commit

Permalink
feat: update devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
zjregee committed Sep 16, 2024
1 parent 48cd277 commit 193b352
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
14 changes: 0 additions & 14 deletions .devcontainer/Dockerfile

This file was deleted.

4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Go",
"dockerFile": "Dockerfile",
"postCreateCommand": "go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,direct && go mod tidy && go install golang.org/x/tools/cmd/goimports@latest"
"image": "mcr.microsoft.com/devcontainers/go:1-1.22-bookworm",
"postCreateCommand": "go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,direct && go mod tidy"
}

0 comments on commit 193b352

Please sign in to comment.