golib/go.work
AJ ONeal 34a54c2d66
refactor: multi-module workspace + dataset owns Syncer interface
- Each package gets its own go.mod: net/{dataset,httpcache,gitshallow,ipcohort,geoip,formmailer}
- go.work with replace directives for cross-module workspace resolution
- dataset.Syncer/NopSyncer moved here from httpcache; callers duck-type it
- dataset.View[T] returned by Add to prevent Init/Sync/Run misuse on group members
- cmd/check-ip moved from net/ipcohort/cmd/check-ip to top-level cmd/check-ip
- Add net/ipcohort/cmd/ipcohort-contains for standalone cohort membership testing
2026-04-20 11:22:01 -06:00

22 lines
576 B
Plaintext

go 1.26.1
use (
.
./cmd/check-ip
./net/dataset
./net/formmailer
./net/geoip
./net/gitshallow
./net/httpcache
./net/ipcohort
)
replace (
github.com/therootcompany/golib/net/dataset v0.0.0 => ./net/dataset
github.com/therootcompany/golib/net/formmailer v0.0.0 => ./net/formmailer
github.com/therootcompany/golib/net/geoip v0.0.0 => ./net/geoip
github.com/therootcompany/golib/net/gitshallow v0.0.0 => ./net/gitshallow
github.com/therootcompany/golib/net/httpcache v0.0.0 => ./net/httpcache
github.com/therootcompany/golib/net/ipcohort v0.0.0 => ./net/ipcohort
)