Skip to content

Glossary: Go Beyond the Basics

done channel

Also written: done

A channel closed to tell goroutines to stop, usually `chan struct{}`. One `close` reaches every receiver at once.

Where the book teaches it

Related terms

empty structcloseselect