inputport

package
v0.0.0-...-c31d802 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressUseCase

type AddressUseCase interface {
	Find(ctx context.Context, command command.FindAddressCommand) (*model.Address, error)
	FindAll(ctx context.Context, command command.FindAllAddressCommand) ([]*model.Address, error)
	Create(ctx context.Context, command command.CreateAddressCommand) (*model.Address, error)
	Update(ctx context.Context, command command.UpdateAddressCommand) (*model.Address, error)
	Delete(ctx context.Context, command command.DeleteAddressCommand) (*model.Address, error)
}

func NewAddressUseCase

func NewAddressUseCase(addressRepository repository.AddressRepository, ownerService model.OwnerService) AddressUseCase

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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