Go Data Structures

Use when choosing or operating on Go slices, maps, arrays, strings, or container/* types — including slice internals, capacity growth, preallocation, map buckets, sets via map[T]struct{}, strings.Builder vs bytes.Buffer, generic containers, and the slices/maps standard packages (Go 1.21+). Apply proactively whenever data is being collected, transformed, or copied, even if the user has not asked about allocation.

muratmirgun Updated 9 repo stars

File contents

muratmirgun/gophers commit d333b88aed

Frequently asked questions

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