usecase

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Usecase

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

func NewUsecase

func NewUsecase(repo statistic.Repository) *Usecase

func (*Usecase) Count

func (uc *Usecase) Count(ctx context.Context, opts ...statistic.Option) (int64, error)

func (*Usecase) Statistic

func (uc *Usecase) Statistic(ctx context.Context, opts ...statistic.Option) ([]*models.StatisticAdItem, error)

Jump to

Keyboard shortcuts

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