Learn / Go
Track
Go, simple and fast.
Go is a small, fast language used across cloud and backend work. You write it here and run it on our own secure code runner, with instant feedback on what it prints.
- 1Your first Go program
Write and run your first Go program: package main, func main and fmt.Println. - 2Variables and formatted output
Short variable declarations with := and formatted printing with fmt.Printf in Go. - 3Loops and functions
Write a Go function and a for loop to add up the numbers 1 to 100. - 4Errors, the Go way
Handle errors in Go with the value-and-error pattern and strconv.Atoi.