Giverny

Golang Data Structures

Golang data structures — slices (internals, capacity growth, preallocation, slices package), maps (internals, hash buckets, maps package), arrays, container/list/heap/ring…

by samber★ 4,015Languages

What Golang Data Structures does

Golang data structures — slices (internals, capacity growth, preallocation, slices package), maps (internals, hash buckets, maps package), arrays, container/list/heap/ring, strings.Builder vs bytes.Buffer, generic collections, pointers (unsafe.Pointer, weak.Pointer), and copy semantics. Use when choosing or optimizing Go data structures, implementing generic containers, using container/ packages, unsafe or weak pointers, or questioning slice/map internals. Not for applying optimization patterns once profiling has identified a bottleneck (→ See `samber/cc-skills-golang@golang-performance` skill

How to install Golang Data Structures in Claude Code

Giverny gives you a ready prompt with the exact install command from samber/cc-skills-golang. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone samber/cc-skills-golang and copy the skills/golang-data-structures folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Golang Data Structures on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the golang-data-structures skill on my current project.”

More Claude skills for languages