biz

package
v0.0.0-...-d85cbbd Latest Latest
Warning

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

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

README

Biz

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewUserUsecase)

ProviderSet is biz providers.

Functions

This section is empty.

Types

type User

type User struct {
}

type UserRepo

type UserRepo interface {
	GetUserInfoByEmail(ctx context.Context, email string) error
	GetUserInfoByPhone(ctx context.Context, phone string) error
}

type UserUsecase

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

func NewUserUsecase

func NewUserUsecase(repo UserRepo, logger log.Logger) *UserUsecase

func (*UserUsecase) GetUserInfoByEmail

func (uc *UserUsecase) GetUserInfoByEmail(ctx context.Context, email string) error

func (*UserUsecase) GetUserInfoByPhone

func (uc *UserUsecase) GetUserInfoByPhone(ctx context.Context, phone string) error

Jump to

Keyboard shortcuts

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