Go Interfaces

Use when defining or implementing Go interfaces, composing types through embedding, designing dependency-injection seams, or deciding between pointer and value receivers. Apply proactively whenever a new abstraction is introduced or a constructor returns an abstract type, even if the user has not asked about interfaces. Does not cover generics (see go-generics).

muratmirgun 14d1ed7 8.6 KB Updated

File contents

muratmirgun/gophers/tree/main/.claude-plugin/skills/go-interfaces commit 14d1ed7200

Frequently asked questions

npx skillmds@latest add muratmirgun/go-interfaces-2