biz

package
v0.0.0-...-1119fe0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

README

Biz

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewRankUsecase)

ProviderSet is biz providers.

Functions

This section is empty.

Types

type Rank

type Rank struct {
	Hello string
}

type RankRepo

type RankRepo interface {
	CreateGreeter(context.Context, *Rank) error
	UpdateGreeter(context.Context, *Rank) error
}

type RankUsecase

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

func NewRankUsecase

func NewRankUsecase(repo RankRepo, logger log.Logger) *RankUsecase

func (*RankUsecase) Create

func (uc *RankUsecase) Create(ctx context.Context, g *Rank) error

func (*RankUsecase) Update

func (uc *RankUsecase) Update(ctx context.Context, g *Rank) error

Jump to

Keyboard shortcuts

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