usecase

package
v0.0.0-...-ccdcda8 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CartCasePort

type CartCasePort interface {
	AddGoodsIntoCart(ctx context.Context, goods *model.GoodInfo) error
}

type UseCase

type UseCase struct {
	DB    repository.PersistencePort
	Cache repository.CachePort
	MQ    repository.MqPort
	// contains filtered or unexported fields
}

func (*UseCase) AddGoodsIntoCart

func (u *UseCase) AddGoodsIntoCart(ctx context.Context, goods *model.GoodInfo) (err error)

Jump to

Keyboard shortcuts

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