3 ms·
There's a proper way to virtualize time for tests: https://pkg.go.dev/testing/synctest#hdr-Time https://pkg.go.dev/testing/synctest#hdr-Time
by yencabulator 9mo ago
There's a proper way to virtualize time for tests:
https://pkg.go.dev/testing/synctest#hdr-Time https://pkg.go.dev/testing/synctest#hdr-Time