Add projects
This commit is contained in:
10
pkg/application/users/model.go
Normal file
10
pkg/application/users/model.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package users
|
||||
|
||||
type User struct {
|
||||
Id int
|
||||
Email string
|
||||
}
|
||||
|
||||
func NewUser(id int, email string) *User {
|
||||
return &User{id, email}
|
||||
}
|
Reference in New Issue
Block a user