usecase

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 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 CustomerUsecase

type CustomerUsecase interface {
	AddCustomer(ctx context.Context, input model.AddCustomerInput) (model.CustomerOutput, error)
	GetAllCustomer(ctx context.Context) ([]model.CustomerOutput, error)
	GetCustomerById(ctx context.Context, id int64) (model.CustomerOutput, error)
	UpdateCustomerById(ctx context.Context, id int64, input model.UpdateCustomerInput) (model.CustomerOutput, error)
	DeleteCustomerById(ctx context.Context, id int64) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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