TokenToSeaSkill 广场
English 控制台

Go Data Structures

Eduardo Spinelli de Lima

Correct use of Go's built-in data structures: slices (nil vs empty, append semantics, aliasing, preallocation), maps (comma-ok, sets, iteration order), arrays, and choosing between them. Use when: "slice vs array", "nil slice", "empty slice", "preallocate", "map iteration", "use a set in Go", "slice aliasing", "append gotcha", "copy a slice", "sync.Map or mutex".

安装

npx skills add eduardo-sl/go-agent-skills --skill go-data-structures