go-control-flow
@muratmirgun · 收录于 1 周前
Use when writing conditionals, loops, switches, type switches, or blank-identifier patterns in Go. Covers if-with-initialization, guard clauses, early returns, the unified for loop, range over slices/maps/strings/channels, parallel assignment, labeled break, and `_` for discards and side-effect imports. Apply proactively to any new if/for/switch, even when the user does not mention scoping or shadowing. Does not cover error-flow specifics (see go-error-handling).
适合你,如果正在写 Go 代码,想用更地道的控制流模式
/ 通过 npx 安装 校验哈希
npx oh-my-skill add muratmirgun/gophers/go-control-flow/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- muratmirgun/gophers/go-control-flow/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify muratmirgun/gophers/go-control-flow安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
8GitHub stars
~1.3K最小装载
~2.1K含声明引用
~2.1K文本包总量
索引托管
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…