Books & Videos

Table of Contents

  1. Chapter 1 Getting Started

    1. Machine Setup

    2. Your First Program

    3. How to Read a Go Program

    4. Exercises

  2. Chapter 2 Types

    1. Numbers

    2. Strings

    3. Booleans

    4. Exercises

  3. Chapter 3 Variables

    1. How to Name a Variable

    2. Scope

    3. Constants

    4. Defining Multiple Variables

    5. An Example Program

    6. Exercises

  4. Chapter 4 Control Structures

    1. The for Statement

    2. The if Statement

    3. The switch Statement

    4. Exercises

  5. Chapter 5 Arrays, Slices, and Maps

    1. Arrays

    2. Slices

    3. Maps

    4. Exercises

  6. Chapter 6 Functions

    1. Your Second Function

    2. Variadic Functions

    3. Closure

    4. Recursion

    5. defer, panic, and recover

    6. Pointers

    7. Exercises

  7. Chapter 7 Structs and Interfaces

    1. Structs

    2. Methods

    3. Interfaces

    4. Exercises

  8. Chapter 8 Packages

    1. The Core Packages

    2. Servers

    3. Creating Packages

    4. Documentation

    5. Exercises

  9. Chapter 9 Testing

    1. Exercises

  10. Chapter 10 Concurrency

    1. Goroutines

    2. Channels

    3. An Example

    4. Exercises

  11. Chapter 11 Next Steps

    1. Study the Masters

    2. Make Something

    3. Team Up

  12. Appendix Answers