containers
April 13, 2026 ยท View on GitHub
containers
containers provides reusable generic data structures for everyday Go programs.
Overview
Each container type is documented on its own page with the relevant API summary, behavior notes, and examples.
| Container | Best for | Documentation |
|---|---|---|
| List | Ordered insertion and removal at either end | lists.md |
| Set | Unique items and set algebra | sets.md |
| Stack | Last-in, first-out workflows | stacks.md |
| Queue | First-in, first-out and double-ended access | queues.md |
| PriorityQueue | Priority-ordered processing via comparator | queues.md |