Module 01 of 12

Foundations: Setup & Tooling

Lessons

About This Module

Before you write real Go, you need a setup that works and a few tools you will use every day. Go ships with a single, powerful command, go, that builds, runs, tests, formats, and manages dependencies, so getting comfortable with it early pays off in every later module.

This module starts with installing Go and your editor and running a first program. It then covers the go command and modules: creating a project with go mod init, and keeping dependencies tidy. Finally, it builds the two general skills Go developers lean on constantly: working in the terminal and tracking your code with Git.

Watch the lessons in order, then continue on to Go Basics.

Lessons

4 videos
01

Golang 101 Crash Course: Learn Go Programming Fundamentals

A beginner crash course that starts with environment setup, installing Go and getting your editor ready, then moves into the fundamentals every Go developer needs. Follow along until you can run your first program.

02

Go Modules: go mod init, go mod tidy and Dependencies

How Go modules work in practice: creating a module with go mod init, keeping go.mod and go.sum clean with go mod tidy, and importing and versioning dependencies.

03

Command Line Basics for Beginners

A complete freeCodeCamp course on the terminal: navigating folders, working with files, and reading and writing data from the command line, the skills behind every go build, go run and go test.

04

Git & GitHub Crash Course for Beginners

A freeCodeCamp crash course on version control: the core Git workflow, using stash, revert and rebase for real-world situations, and how pull requests work and why teams rely on them.