biz

package
v0.0.0-...-ba223e3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is biz providers.

Functions

This section is empty.

Types

type Greeter

type Greeter struct {
	Hello string
}

type GreeterRepo

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

type GreeterUseCase

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

func NewGreeterUseCase

func NewGreeterUseCase(repo GreeterRepo, logger log.Logger) *GreeterUseCase

func (*GreeterUseCase) Create

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

func (*GreeterUseCase) Update

func (uc *GreeterUseCase) 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