Add projects
This commit is contained in:
8
pkg/application/users/repository.go
Normal file
8
pkg/application/users/repository.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package users
|
||||
|
||||
import "context"
|
||||
|
||||
type Repository interface {
|
||||
Create(ctx context.Context, user *CreateUser) (int, error)
|
||||
GetByEmail(ctx context.Context, email string, passwordHash string) (*User, error)
|
||||
}
|
Reference in New Issue
Block a user