Go Generics

Use when deciding whether to use Go generics, writing generic functions or types, choosing constraints, or picking between type aliases and type definitions. Also use when a user is writing a utility function that could work with multiple types, even if they don't mention generics explicitly. Does not cover interface design without generics (see go-interfaces).

cxuu Updated

File contents

cxuu/golang-skills/tree/main/skills/go-generics commit 0cfa9811a9

Frequently asked questions

npx skillmds@latest add cxuu/go-generics