Go Generics

Use when deciding whether to introduce Go generics, writing generic functions or types, composing type constraints, or choosing between type aliases and type definitions. Apply proactively when a user is writing a utility function that could conceivably work with multiple types, even if they didn't mention generics. Does not cover interface-only designs (see go-interfaces).

muratmirgun c75eca0 4 files · 10.8 KB Updated

File contents

muratmirgun/gophers/tree/main/skills/go-generics commit c75eca0507

Frequently asked questions

npx skillmds@latest add muratmirgun/go-generics