biz

package
v0.0.0-...-d272d5c Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: MIT, MIT Imports: 3 Imported by: 0

README

Biz

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewLogicUsecase)

ProviderSet is biz providers.

Functions

This section is empty.

Types

type Greeter

type Greeter struct {
	Hello string
}

type Logic

type Logic interface {
	CreateGreeter(context.Context, *Greeter) error
	UpdateGreeter(context.Context, *Greeter) error
	DeleteGreeter(context.Context, *Greeter) error
}

type LogicUsecase

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

func NewLogicUsecase

func NewLogicUsecase(repo Logic, logger log.Logger) *LogicUsecase

func (*LogicUsecase) Create

func (uc *LogicUsecase) Create(ctx context.Context, g *Greeter) error

func (*LogicUsecase) Delete

func (uc *LogicUsecase) Delete(ctx context.Context, g *Greeter) error

func (*LogicUsecase) Update

func (uc *LogicUsecase) Update(ctx context.Context, g *Greeter) error

Jump to

Keyboard shortcuts

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