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.

pngdeity 1d20f4e 2 files · 6.6 KB Updated

File contents

pngdeity/apm-user-repository/tree/main/packages/golang-language/.apm/skills/go-data-structures commit 1d20f4e576

Frequently asked questions

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