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

9 lines
206 B
Go

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)
}