Skip to main content
Go Runtime & Development Tools

Go Runtime & Development Tools

Go development environment with runtime, language server, debugger, and static analysis tools.

gogolanggoplsdelvestaticcheckprotobuf
Overview

Complete Go development setup including the Go runtime, gopls language server for IDE features, Delve debugger, and staticcheck for code analysis. Includes VS Code extensions for Go development, test running, and Protocol Buffer support.

Script ID:dev-golang
Script:install-dev-golang.sh

Go Packages

PackageDescription
golang.org/x/tools/gopls@latest
github.com/go-delve/delve/cmd/dlv@latest
honnef.co/go/tools/cmd/staticcheck@latest

VS Code Extensions

ExtensionDescription
GoCore Go language support
Go Test ExplorerTest runner and debugger
Protocol BuffersProtocol Buffer support

Installation

Install via the interactive menu:

dev-setup

Or install directly:

.devcontainer/additions/install-dev-golang.sh
Full installation options (click to expand)


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 Go Runtime & Development Tools
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

ID: dev-golang
Name: Go Runtime & Development Tools
Script version: 0.0.1
Category: LANGUAGE_DEV, Development Tools
Description: Installs Go runtime, common tools, and VS Code extensions for Go development.
Default: Version 1.21.0

Usage:

Action:
install-dev-golang.sh # Install Go with default version
install-dev-golang.sh --version <arg> # Install specific Go version
install-dev-golang.sh --uninstall # Uninstall Go development tools

Info:
install-dev-golang.sh --help # Show help and usage information

Go Packages (go install):
- golang.org/x/tools/gopls@latest
- github.com/go-delve/delve/cmd/dlv@latest
- honnef.co/go/tools/cmd/staticcheck@latest

VS Code Extensions:
- Go (golang.go) - Core Go language support
- Go Test Explorer (premparihar.gotestexplorer) - Test runner and debugger
- Protocol Buffers (zxh404.vscode-proto3) - Protocol Buffer support

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━