mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-04 00:30:27 +00:00
remove old factory
This commit is contained in:
parent
cf93811a44
commit
ff479b74b1
1 changed files with 0 additions and 16 deletions
|
@ -1,16 +0,0 @@
|
|||
package factories
|
||||
|
||||
import (
|
||||
"github.com/hay-kot/homebox/backend/internal/repo"
|
||||
"github.com/hay-kot/homebox/backend/pkgs/faker"
|
||||
)
|
||||
|
||||
func UserFactory() repo.UserCreate {
|
||||
f := faker.NewFaker()
|
||||
return repo.UserCreate{
|
||||
Name: f.Str(10),
|
||||
Email: f.Email(),
|
||||
Password: f.Str(10),
|
||||
IsSuperuser: f.Bool(),
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue