golang-data-structures
samber/cc-skills-golang
Comprehensive guide to Go's built-in and standard library data structures, including slices, maps, and arrays. Deep dives into memory allocation, capacity growth mechanics, and best practices for optimization. Learn when to use `strings.Builder`, preallocation techniques, `container/heap`, and managing pointers safely with `unsafe.Pointer` and `weak.Pointer`. Ideal for optimizing performance-critical Go code.