add faker manager

This commit is contained in:
Simon Vieille 2024-03-19 16:09:59 +01:00
commit 853b90a30f
Signed by: deblan
GPG key ID: 579388D585F70417
6 changed files with 219 additions and 28 deletions

View file

@ -8,6 +8,7 @@ import (
"github.com/urfave/cli/v2"
"gitnet.fr/deblan/database-anonymizer/app"
"gitnet.fr/deblan/database-anonymizer/config"
"gitnet.fr/deblan/database-anonymizer/faker"
"gitnet.fr/deblan/database-anonymizer/logger"
"os"
)
@ -38,7 +39,7 @@ func main() {
logger.LogFatalExitIf(err)
app := app.App{}
return app.Run(db, schema)
return app.Run(db, schema, faker.NewFakeManager())
},
}