feat: improvements in structures

This commit is contained in:
Elton Minetto
2020-09-29 21:51:18 -03:00
parent 201f7607e1
commit 2c7f87e73a
41 changed files with 821 additions and 1265 deletions
+16
View File
@@ -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(),
}
}