Go Data Structures

Use when working with Go slices, maps, or arrays — choosing between new and make, using append, declaring empty slices (nil vs literal for JSON), implementing sets with maps, and copying data at boundaries. Also use when building or manipulating collections, even if the user doesn't ask about allocation idioms. Does not cover concurrent data structure safety (see go-concurrency).

cxuu Updated

File contents

cxuu/golang-skills commit f5a47e6195

Frequently asked questions

npx skillmds@latest add cxuu/go-data-structures