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 Updated 0 repo stars
ask_user_question presents a recommended multiple-choice prompt in Pi

File contents

aneviaro/pipack commit 69c7c202b5

Frequently asked questions

npx get-skill add aneviaro/go-data-structures