Skip to content

Go 環境サンプル

Go での開発環境のサンプルです:

{
  "name": "Go",
  "image": "mcr.microsoft.com/devcontainers/go:1.24-bullseye",
  "features": {
    // "ghcr.io/devcontainers/features/docker-in-docker:2": {}
  },
  "customizations": {
    "vscode": {
      "settings": {
        "editor.formatOnSave": true,
        "[go]": {
          "editor.rulers": [100]
        }
      },
      "extensions": ["golang.go"]
    }
  }
}