Getting Started
Install Go, write your first program, and learn the basics.
beginner
Installing Go & Setting Up Your Environment
Learn how to download and install Go on Windows, macOS, and Linux. Set up your GOPATH, GOROOT, and write your first program.
beginner
Hello, World! — Your First Go Program
Write, compile, and run your first Go program. Understand the basic structure of a Go file: package main, imports, and the func main entry point.
beginner
Variables, Types, and Constants in Go
Master Go's basic data types, variable declarations, zero values, and constants. Learn about int, float64, string, bool, and shorthand syntax.