usecase

package
v0.0.0-...-ebdf8ee Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 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 ProductUsecaseInterface

type ProductUsecaseInterface interface {
	CreateProduct(ctx context.Context, prd *entity.ProductDto) error
	UpdateProduct(ctx context.Context, prd *entity.ProductDto) error
	DeleteProduct(ctx context.Context, productId string) error
	GetDetailProduct(ctx context.Context, productId string) (*entity.ProductDto, error)
	GetListProduct(ctx context.Context, filter *entity.GeneralFilter) ([]*entity.ProductDto, error)
}

Jump to

Keyboard shortcuts

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