Chapter 3

What separates Go

Interfaces, errors, concurrency, generics, testing.

~125 min total10 lessonsAssignment

By the end of this chapter you'll be able to

  • The mechanical part
  • The direction: interfaces belong to the consumer
  • Keep them small
  • The empty interface, and `any`
  • The nil interface trap

Chapter assignment

Finish every assignment in What separates Go

Each lesson in this part ends with its own assignment, named for the leaderboard. Finish them in order.

See success criteria

Lesson 1 takes ~15 min.

Start chapter

Spot a typo? Have an idea?

Help us improve this chapter. One click opens a GitHub issue with this chapter's URL pre-filled — suggest a clearer wording, report a bug, or request a new lesson. The course keeps improving thanks to learners like you.

Suggest an improvement on GitHub