Data Science & Analytics
Go Data Structures
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". Not for: structures shared across goroutines (go-concurrency-review), allocation profiling (go-performance-review), generic containers (go-design-patterns).
- Publisher / source
- eduardo-sl/go-agent-skills (found on the CSV list)
- Upstream record
- eduardo-sl/go-agent-skills
- Version
- Version 2
- Published
- Publication review
- Approved for publication · recorded passed scan 2026-11-02
- Content fingerprint
9d6e5d028ef2cc1deda6ab23df07701316ba8e3531ed9884a3f4f9951bb52d9f