Skill
golang-structs-interfaces
Golang struct and interface design patterns — composition, embedding, type assertions, type switches, interface segregation, dependency injection via interfaces, struct field tags, and pointer vs value receivers. Use this skill when designing Go types, defining or implementing interfaces, embedding structs or interfaces, writing type assertions or type switches, adding struct field tags for JSON/YAML/DB serialization, or choosing between pointer and value receivers. Also use when the user asks about "accept interfaces, return structs", compile-time interface checks, or composing small interfaces into larger ones.
Bundled with Skillstore. Its trust score, security findings and other files are on the plugin page.
SKILL.md
- Path
- pending/samber/golang-structs-interfaces/SKILL.md
- Size
- 12 KB
- SHA-256
- 0bc93e1e86c3cf24571205b6fdd773a23df1b34366e7f639a9530d6984117601
Install
Install the plugin's skills with the Skills CLI:
npx [email protected] add aiskillstore/marketplace