biz

package
v0.0.0-...-b12402e Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT, MIT Imports: 3 Imported by: 0

README

Biz

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is biz providers.

Functions

This section is empty.

Types

type ShipOrder

type ShipOrder struct {
	Id     int64
	UserId int64
}

type ShippingRepo

type ShippingRepo interface {
	ShipOrder(ctx context.Context, o *ShipOrder) error
}

type ShippingUseCase

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

func NewShippingUseCase

func NewShippingUseCase(repo ShippingRepo, logger log.Logger) *ShippingUseCase

func (*ShippingUseCase) ShipOrder

func (uc *ShippingUseCase) ShipOrder(ctx context.Context, o *ShipOrder) (err error)

Jump to

Keyboard shortcuts

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