frontend and backend base setup
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package entities
|
||||
|
||||
type User struct {
|
||||
ID string
|
||||
Name string
|
||||
Email string
|
||||
Password string
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package repositories
|
||||
|
||||
import "actatempus_backend/internal/domain/entities"
|
||||
|
||||
type UserRepository interface {
|
||||
Create(user *entities.User) error
|
||||
FindByEmail(email string) (*entities.User, error)
|
||||
FindByID(id string) (*entities.User, error)
|
||||
}
|
||||
Reference in New Issue
Block a user