跳到主要内容

技能AI 与模型

Go 结构体与接口

包名 golang-structs-interfaces

设计 Go 的结构体和接口,涵盖组合、嵌入、类型断言、字段标签,以及指针接收者和值接收者的选择。

.skillgolang-structs-interfaces.skill下载技能包
安装量
4.2 万次安装
来源
samber/cc-skills-golang
许可证
许可证 MIT
分类
AI 与模型

INSTALL

npx skills add https://github.com/samber/cc-skills-golang --skill golang-structs-interfaces
这是第三方技能原文。本站没有改写正文,也不是作者。安装前请自己读一遍,并遵守技能自带的许可证。

来源

快照日期 2026年11月27日

原文里的字段

user-invocable
true
许可证
MIT
兼容性
Designed for Claude Code, Codex or similar harness, and for projects using Golang.
作者
samber
版本
1.2.1
allowed-tools
Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent AskUserQuestion
paths
**/*.go

正在打开文件…