Glossary: Software Design Patterns in Go
Builder
Also written: builder pattern, OrderBuilder
A pattern that collects the parts of a value one call at a time and then makes the finished value, checking it at the end. `OrderBuilder` adds a customer, items and a carrier, and `Build()` refuses an order with no items.