Functional
Software Architecture & Engineering · 2 notes
- Functional Options Patternhistorical
A Go functional-options example for constructing an object with default values while allowing selected fields to be changed flexibly.
- Function Types as Interfaceshistorical
What an interface function is, why it is useful, and a Go implementation that allows either function values or structs to satisfy the same interface.