mirror of
https://github.com/therootcompany/golib.git
synced 2026-04-24 12:48:00 +00:00
IPCheck.ConfPath → GeoIPConfPath. After flag parsing, auto-discover the conf path (when not explicit), parse it, and stash cfg.GeoIPBasicAuth = httpcache.BasicAuth(...). The geoip download block later just checks cfg.GeoIPBasicAuth != "" and uses the pre-built value.
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%