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).

aneviaro 69c7c20 2 files · 7.6 KB Updated

File contents

aneviaro/pipack/tree/main/agent/skills/go-data-structures commit 69c7c202b5

Frequently asked questions

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