Add repeat/separator templates; validate at compile time; support Go 1.22+ via GO_VERSION

This commit is contained in:
lilleman
2026-06-08 21:11:58 +02:00
parent 72154502d7
commit 3e1cd3ee2a
8 changed files with 241 additions and 139 deletions
-4
View File
@@ -74,7 +74,3 @@ func newRand(seed uint64, seeded bool) *rand.Rand {
}
return rand.New(rand.NewPCG(seed, seed^0x9e3779b97f4a7c15))
}
// intn returns a random int in [0, n). It panics for n <= 0, matching the
// stdlib contract.
func (f *Fakes) intn(n int) int { return f.rand.IntN(n) }