Go for Beginners
Start programming with Go, the simple, fast language behind much of the modern web. Print your first message, store data in variables, make decisions, loop, write functions, and organize data with slices, maps, and structs.
Go is a small, friendly language created at Google to power cloud services and website back-ends. This course assumes zero experience. In twelve short lessons you will write your first program, learn how packages and main fit together, work with variables, numbers, and strings, make decisions with if and else, master Go's single for loop, write functions that return more than one value, and collect data with slices, maps, and structs. You finish with a guided tour of a tiny real web server written in only a few lines of Go.
Say Hello to Go
Meet Go, see how a program is put together from packages and a main function, and print your first words to the screen.
Remember and Decide
Store information in variables, work with numbers and strings, and teach your program to make decisions with if and else.
Repeat and Reuse
Master Go's one loop, package steps into reusable functions with multiple returns, and keep lists of values in slices.
Real Data, Real Programs
Look things up instantly with maps, model real things with structs, and peek at a complete tiny web server written in Go.