biz

package
v0.0.0-...-75440f7 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewWatchUsecase)

Functions

This section is empty.

Types

type WatchRepo

type WatchRepo interface {
	ToLink(ctx context.Context, uid int64) error
}

type WatchUsecase

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

func NewWatchUsecase

func NewWatchUsecase(repo WatchRepo, logger log.Logger) *WatchUsecase
func (uc *WatchUsecase) ToLink(ctx context.Context, uid int64) error

Jump to

Keyboard shortcuts

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