Skip to content

Glossary: System Design Beyond the Basics in Go

set (map[string]struct{})

Also written: set

Go has no set type, so a map whose values carry no information serves as one; struct{} takes no memory.

Where the book teaches it

Related terms

MergeInverted index