mirror of
https://github.com/therootcompany/golib.git
synced 2026-04-24 12:48:00 +00:00
- reload() Closes replaced value if it implements io.Closer (geoip readers leak mmap/file handles on hot-swap without this) - AddInitial pre-populates a view so Value() is non-nil before first Load — enables async-load startup paths - View.LoadedAt() and Set.Loaded() expose load state for health checks
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%