add faker manager
This commit is contained in:
parent
0de68ae32d
commit
853b90a30f
6 changed files with 219 additions and 28 deletions
3
main.go
3
main.go
|
|
@ -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())
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue