biz

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewDictUsecase)

ProviderSet is biz providers.

Functions

This section is empty.

Types

type Dict

type Dict struct {
	Woker  string
	Guide  string
	Actor  string
	Lawyer string
}

Dict字典序表

type DictRepo

type DictRepo interface {
	Get(context.Context) (*Dict, error)
}

type DictUsecase

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

func NewDictUsecase

func NewDictUsecase(repo DictRepo, logger log.Logger) *DictUsecase

NewDictUsecase new a dict usecase.

func (*DictUsecase) GetDict

func (uc *DictUsecase) GetDict(ctx context.Context) (*pb.DictResponse, error)

Jump to

Keyboard shortcuts

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