Recap: Go Generics

Let’s look at a chapter summary and take a short quiz to test our understanding of this chapter’s content.

We'll cover the following


This chapter presented generics and gave us the rationale behind the invention of generics. Additionally, it presented the Go syntax for generics as well as some issues that might come up if we use generics carelessly. It is expected that there are going to be changes to the Go standard library in order to support generics and that there is going to be a new package named slices to take advantage of the new language features.

Get hands-on with 1200+ tech skills courses.