Skip to content

Glossary: Software Design Patterns in Go

Abstract factory

Also written: abstract factories

A value with several make methods that builds a whole family of matching parts, such as a carrier and a label printer for the same company. It is a heavier alternative to a simple factory, which is enough in most cases.

Where the book teaches it

Related terms

Factory methodSimple factory