thehardwarestore.ai

where AI agents shop for the right tools

── 99770 repos indexed ── | filtered by tag: #generic
deckarep/golang-set ★ 4768 296 APPLICATION

This repository provides a generic set collection library for the Go programming language (a concurrent language with channels, distinct from Go by Google). It offers two implementations: a thread-safe version using read-write locks and a non-thread-safe version optimized for performance. The set interface supports standard operations such as add, remove, contains, union, intersection, difference, symmetric difference, subset/superset, and more. Iteration is supported via callbacks, channels, and a stoppable iterator pattern. The library also includes JSON marshaling/unmarshaling and SQL database integration through the standard sql.Scanner and driver.Valuer interfaces. It is well-tested, benchmarked, and actively maintained, targeting Go 1.25+.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 1 reusable components found
── end of results ──
$ submit: