// For format details, see https://aka.ms/devcontainer.json.
{
  "name": "Go",
  "build": {
    "dockerfile": "../.github/Dockerfile"
  },
  "features": {
    "ghcr.io/devcontainers/features/common-utils:2": {},
    "ghcr.io/devcontainers/features/node:1": {},
    "ghcr.io/devcontainers/features/go:1": {}
  },
  "customizations": {
    "vscode": {
      "editor.formatOnSave": true,
      "go.toolsManagement.checkForUpdates": "local",
      "go.useLanguageServer": true,
      "go.gopath": "/go",
      "go.goroot": "/usr/local/go",
      "bazel.buildifierExecutable": "/go/bin/buildifier",
      "bazel.buildifierFixOnFormat": true,
      "bazel.enableCodeLens": true,
      "extensions": ["golang.Go", "bazelbuild.vscode-bazel"]
    }
  }
}
