BigHugger
sk Skill · cxuu

go-functional-options

Use when designing a Go constructor or factory function with optional configuration — especially with 3+ optional parameters or extensible APIs. Also use when building a New* function that takes many settings, even if they don't mention "functional options" by name. Does not cover general function design (see go-functions).

installs 8w
254
30-day movement
starts with the next reading
Related entries
1
Connections
0
goHTML
Host repository
cxuu/golang-skills
Installs, lifetime
1,100
Installs, 8 weeks
254
Host stars
161
Host language
HTML