application

package
v0.0.0-...-41e512e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDuplicateKey = errors.New("duplicate key error")
)

Functions

This section is empty.

Types

type UserInteractor

type UserInteractor struct {
	Repository repository.UserRepository
}

func (UserInteractor) CreateUser

func (i UserInteractor) CreateUser(ctx context.Context, email, password string) error

func (UserInteractor) GetUser

func (i UserInteractor) GetUser(ctx context.Context, email string) (*domain.User, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL