Go Basics
Learn the fundamentals of Go: installation, basic syntax, data types, and how to write your first Go programs.

Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026

The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.


Go (also known as Golang) is a modern programming language developed by Google. It combines the efficiency and safety of a statically-typed language with the ease of use you’d expect from a dynamic language, making it an excellent choice for building servers, tools, and cloud infrastructure.

In this unit, you’ll learn the fundamentals of Go programming. We’ll cover installation and setup, basic syntax, variables and data types, and how to write your first Go programs. Go’s simplicity and built-in tooling make it enjoyable to learn and productive to use.

Go powers much of the internet’s infrastructure, and learning it opens doors to backend development, DevOps tools, and cloud-native applications.

Lessons in this unit:

0: ▶︎ Introduction
1: Introduction to Go
2: Your first Go program
3: Compiling and running Go programs
4: Variables and types
5: Operators
6: Strings
7: Arrays
8: Slices
9: Maps
10: Visualize your local Git contributions with Go
11: Use Go to get a list of repositories from GitHub
12: Building a CLI command with Go: cowsay
13: Go CLI tutorial: fortune clone
14: Build a Command Line app with Go: lolcat