Go Interfaces

Use when defining or implementing Go interfaces, designing abstractions, creating mockable boundaries for testing, or composing types through embedding. Also use when deciding whether to accept an interface or return a concrete type, or using type assertions or type switches, even if the user doesn't explicitly mention interfaces. Does not cover generics-based polymorphism (see go-generics).

om-scogo 358cab2 4 files · 17.3 KB Updated 0 repo stars

File contents

om-scogo/skillsh-scraper/tree/main/data/skills/cxuu-golang-skills/go-interfaces commit 358cab26d7

Frequently asked questions

npx skillmds add om-scogo/go-interfaces