Skip to content

Glossary: Go Beyond the Basics

type parameter

Also written: type parameters

A placeholder for a type, written in square brackets after a function or type name, as in `Sum[T int | float64]`.

Where the book teaches it

Related terms

constraintgenericstype argument