interfaces

package
v0.0.0-...-d939588 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ICreateProductUseCase

type ICreateProductUseCase interface {
	Execute(product *input.ProductData) (*output.ProductData, error)
}

type IDeleteProductUseCase

type IDeleteProductUseCase interface {
	Execute(id string) error
}

type IFindProductUseCase

type IFindProductUseCase interface {
	Execute(productId string) (output.ProductData, error)
}

type IUpdateProductUseCase

type IUpdateProductUseCase interface {
	Execute(inputProduct *input.ProductData) (output.ProductData, error)
}

Jump to

Keyboard shortcuts

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