usecase

package
v0.0.0-...-5927a11 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidId = errors.New("id format is invalid")
View Source
var (
	ErrUnexpected = errors.New("something went wrong")
)

Functions

This section is empty.

Types

type Transfer

type Transfer struct {
	// contains filtered or unexported fields
}

func NewTransferUseCase

func NewTransferUseCase(transferRepository transfer.Repository, logger zerolog.Logger) Transfer

func (Transfer) Create

func (Transfer) GetTransfersByAccountID

func (t Transfer) GetTransfersByAccountID(ctx context.Context, accountID string) ([]entities.Transfer, error)

Jump to

Keyboard shortcuts

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