Skip to content

Glossary: Go Beyond the Basics

make

A built-in that creates a ready-to-use channel, slice or map, e.g. `make(chan int)`, `make([]int, 0, 10)` or `make(map[string]int)`.

Where the book teaches it

Related terms

channelcap / capacity