biz

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 4 Imported by: 0

README

Biz

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewSkuBiz)

ProviderSet is biz providers.

Functions

This section is empty.

Types

type SkuCase

type SkuCase struct {
	// contains filtered or unexported fields
}

func NewSkuBiz

func NewSkuBiz(repo SkuRepo, logger log.Logger) *SkuCase

NewAccountBiz User new a Greeter usecase.

func (*SkuCase) GetSkuByModelBrand

func (p *SkuCase) GetSkuByModelBrand(ctx context.Context, model, brand string) (*model.SkuInfo, error)

type SkuRepo

type SkuRepo interface {
	GetSkuByModelBrand(string, string) (*model.SkuInfo, error)
}

Jump to

Keyboard shortcuts

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