mirror of
https://github.com/therootcompany/golib.git
synced 2026-04-24 20:58:00 +00:00
Uses atomic.Pointer[ipcohort.Cohort] directly and builds a per-source refresh closure (files / git / http). One goroutine drives the ticker. Exercises what the dataset pkg was abstracting so we can judge which bits are worth a shared pkg.
11 lines
288 B
Modula-2
11 lines
288 B
Modula-2
module github.com/therootcompany/golib/cmd/check-ip
|
|
|
|
go 1.26.0
|
|
|
|
require (
|
|
github.com/therootcompany/golib/net/geoip v0.0.0
|
|
github.com/therootcompany/golib/net/gitshallow v0.0.0
|
|
github.com/therootcompany/golib/net/httpcache v0.0.0
|
|
github.com/therootcompany/golib/net/ipcohort v0.0.0
|
|
)
|