biz

package
v0.0.0-...-db98cbe Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is biz providers.

Functions

This section is empty.

Types

type Account

type Account struct {
	ID      int32
	Uid     int32
	Type    int32
	Balance string
	Tag     string
	DT      string
	Ctime   string
}

type AccountRepo

type AccountRepo interface {
	GetAccountList(context.Context, int32) ([]Account, error)
}

type AccountUseCase

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

func NewAccountUseCase

func NewAccountUseCase(account AccountRepo, logger log.Logger) *AccountUseCase

func (*AccountUseCase) GetAccounts

func (uc *AccountUseCase) GetAccounts(ctx context.Context, limit int32) ([]Account, error)

Jump to

Keyboard shortcuts

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