serverctl/pkg/application/users/model.go
2022-02-14 01:25:36 +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}
}