mirror of
https://github.com/therootcompany/golib.git
synced 2026-04-24 12:48:00 +00:00
- geoip.Databases: wraps city+ASN datasets with nil-safe Init/Run/PrintInfo - geoip.(*Downloader).NewDatabases: builds Databases from downloader - cmd/check-ip/geo.go: setupGeo() handles conf parsing, dir creation, DB path resolution - cmd/check-ip/blacklist.go: isBlocked() + cohortSize() moved here - cmd/check-ip/main.go: flags, source selection, init, check, print — nothing else
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%