serverctl/services/entry/pkg/application/users/model.go
2022-02-14 20:03:53 +01:00

11 lines
132 B
Go

package users
type User struct {
Id int
Email string
}
func NewUser(id int, email string) *User {
return &User{id, email}
}