// For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/go { "name": "Go", "image": "mcr.microsoft.com/devcontainers/go:1.20", // Features to add to the dev container. More info: https://containers.dev/features. "features": { "ghcr.io/guiyomh/features/vim": {} }, // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": { "download revive": "go install github.com/mgechev/revive@latest", "add githook": "echo revive -set_exit_status > .git/hooks/pre-commit", "chmod githook": "chmod +x .git/hooks/pre-commit" } }