feat: improvements in structures
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
func NewFixtureUser() *User {
|
||||
return &User{
|
||||
ID: NewID(),
|
||||
Email: "[email protected]",
|
||||
Password: "123456",
|
||||
FirstName: "Ozzy",
|
||||
LastName: "Osbourne",
|
||||
CreatedAt: time.Now(),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user