Skip to content

Glossary: Go Beyond the Basics

generic type

A type with type parameters, such as `Set[T comparable]`. Its methods repeat the parameters in the receiver, like `(s *Set[T])`.

Where the book teaches it

Related terms

genericstype parametertype argument