Functional Options Pattern Functional options is a pattern where you declare an opaque type that records information in an internal struct. The constructor accepts a variadic number of these options and applies them to configure the result. Resource Routing - - Read when choosing between config structs and functional options, implementing the full interface-based option pattern, or evaluating hybrid constructor APIs. When to Use Use functional options when: - 3+ optional arguments on constructors or public APIs - Extensible APIs that may gain new options over time - Clean caller experience is…