repo

package
v0.0.0-...-8529627 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(
	NewUserCase,
)

Functions

This section is empty.

Types

type IUserRepo

type IUserRepo interface {
	GetUserById(ctx context.Context, uid int64) (*po.User, error)
}

IUserRepo 用户repo接口

type UserCase

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

UserCase ...

func NewUserCase

func NewUserCase(repo IUserRepo) *UserCase

NewUserCase ...

func (*UserCase) GetPlayerById

func (s *UserCase) GetPlayerById(ctx context.Context) (*po.User, error)

GetPlayerById ...

Jump to

Keyboard shortcuts

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