Rename the exported type to Generator and retire the faker wording
Tests / vet + fmt + tests (pull_request) Successful in 25s

This commit is contained in:
2026-09-01 21:34:27 +02:00
parent d44c941a92
commit 04b7b6a432
14 changed files with 85 additions and 85 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import (
"testing"
)
func benchFaker(b *testing.B, dir string) *Fejkdata {
func benchGenerator(b *testing.B, dir string) *Generator {
b.Helper()
f, err := New([]string{dir}, WithSeed(1))
if err != nil {
@@ -16,7 +16,7 @@ func benchFaker(b *testing.B, dir string) *Fejkdata {
}
func benchPath(b *testing.B, dir, path string) {
f := benchFaker(b, dir)
f := benchGenerator(b, dir)
b.ReportAllocs()
b.ResetTimer()
for i := 0; i < b.N; i++ {