Skip to content

Glossary: Software Design Patterns in Go

Facade

Also written: facade pattern

One simple function or type in front of several parts, so callers make a single call. `checkout` prices, quotes shipping and saves, so callers don't repeat those steps.

Where the book teaches it

Related terms

Single responsibility principle (SRP)