mirror of
https://github.com/therootcompany/golib.git
synced 2026-04-24 12:48:00 +00:00
Dataset[T]: one Syncer + one Loader + one atomic.Pointer. Init/Sync/Run. Group: one Syncer driving N datasets — single Fetch, all reloads fire together. Add[T](g, loader, path) registers a typed dataset in the group. Discovered organically: the reload+atomic-swap pattern repeated across every cmd is exactly this abstraction.
golib
Sometimes a little copying, sometimes a little dependency. Too small for their own repos.
The default branch is dev, but the stable, versioned tags are based on main.
Also, my Go Cheatsheet:
Languages
Go
100%