Introduction
Learn to program with Go
()
What you need to know
()
Use code challenges on CoderPad
()
1. Getting Started
Go's essential characteristics
()
Explore basic Go syntax
()
Experiment with the Go playground
()
Using the exercise files in GitHub Codespaces
()
Create your first Go application
()
Build an executable application
()
2. Manage Simple Variable Values
Explore Go's variable types
()
Output text to the console
()
Get input from the console
()
Using math operators
()
Using the math package
()
Work with dates and times
()
3. Manage Complex Types and Collections
How memory is allocated and managed
()
Reference values with pointers
()
Store ordered values in arrays
()
Manage ordered values in slices
()
Store unordered values in maps
()
Group related values in structs
()
4. Manage Program Flow
Program conditional logic with if and else
()
Evaluate expressions with switch statements
()
Create loops with for statements
()
5. Create Reusable Code
Define and call functions
()
Define functions as methods of custom types
()
Run a function as a goroutine
()
6. Work with Files and the Web
Write and read local text files
()
Read a text file from the web
()
Parse JSON-formatted text
()