usecases

package
v0.0.0-...-20cb452 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: MIT Imports: 9 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(pool *wpgx.Pool, cache *dcache.DCache) *Usecase

func (*Usecase) ListNewComicBookTx

func (u *Usecase) ListNewComicBookTx(ctx context.Context, bookName string, price float32) (id int, err error)

func (*Usecase) Search

func (u *Usecase) Search(ctx context.Context, bookName string) (n int, err error)

Jump to

Keyboard shortcuts

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