Edge Copy setup link
Skill evidence / Golang Structs Interfaces

Golang Structs Interfaces

Golang struct and interface design patterns : composition.

samber/cc-skills-golangpinned 19a0626
✓ Security state: reviewed

2 static scans, 0 counted findings.

Recorded for this package revision; Edge checks the exact bundle again when your agent loads it.

SKILL.md4 files · 31.0 KB
From samber’s public repository. Edge did not write or edit this skill.

What this skill does for you

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.

Quoted from the skill description in the pinned source

Use it with Edge

Set up Edge for me: read getedge.cc/SKILL.md and follow it. Then use Edge to load the golang-structs-interfaces skill from samber/cc-skills-golang.

Paste it into Claude, ChatGPT, Codex or Cursor.

Or read the skill source first.

Try Golang Structs Interfaces in your agent.

Golang struct and interface design patterns : composition.