TokenToSeaSkill 广场
English 控制台

Go Functional Options

cxuu

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).

安装

尚未确认此技能的独立目录。下面命令会打开仓库技能选择器,请按上游说明选择技能。

skills CLI
npx skills add cxuu/golang-skills