golang-structs-interfaces
by samber
· Github
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.
Add golang-structs-interfaces to your agent in AIniverse
Discover more reusable skills, save them to your stack, get notified when new ones land.
Open in App · skills.shMore agent skills
find-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is...
gstack-autoplan
Fully reviewed plan running CEO → design → eng review automatically.
android-agp-9-upgrade
Upgrades, or migrates, an Android project to use Android Gradle Plugin (AGP) version 9. Do not use this skill for mig...
gstack-benchmark
Baseline page load times, Core Web Vitals, and resource sizes.