goresolver
goresolver copied to clipboard
Fix time-dependent tests
Summary
- add a
nowFuncvariable so tests can set the current time - override
nowFuncin tests so archived DNS fixtures remain valid
Testing
-
go test ./...(fails: Get "https://proxy.golang.org/...": Forbidden)
https://chatgpt.com/codex/tasks/task_e_685c886fb510833196ec8fbfb4ee596a