Glossary: Software Design Patterns in Go
Method chaining
Also written: chained methods, chaining
Calling methods in a row, each returning the same pointer so the next call can follow on. `OrderBuilder` uses it: `NewOrderBuilder().ForCustomer(ana).Add(...).Build()`.