biz

package
v0.0.0-...-8ba6176 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 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