Skip to content

Glossary: Go Beyond the Basics

empty struct

Also written: struct{}

A type with no fields that takes no memory, used for channels that signal and carry no data.

Where the book teaches it

Related terms

done channel