feat: authsession service

This commit is contained in:
Ilia Denisov
2026-04-08 16:23:07 +02:00
committed by GitHub
parent 28f04916af
commit 86a68ed9d0
174 changed files with 31732 additions and 112 deletions
+15
View File
@@ -0,0 +1,15 @@
package testkit
import "time"
// FixedClock is a deterministic Clock double that always returns the same
// instant.
type FixedClock struct {
// Time is the instant returned by Now.
Time time.Time
}
// Now returns the configured instant.
func (c FixedClock) Now() time.Time {
return c.Time
}