usecase

package
v0.0.0-...-cf22472 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPetUsecase

type IPetUsecase interface {
	ListPets(ctx context.Context, offset, limit int32) ([]dto.Pet, error)
	GetPet(ctx context.Context, id int64) (dto.Pet, error)
	CreatePet(ctx context.Context, pet *dto.Pet) error
	UpdatePet(ctx context.Context, pet *dto.Pet) error
	DeletePet(ctx context.Context, id int64) error
}

func NewPetUsecase

func NewPetUsecase(postgresql *postgresql.Queries, tracer trace.Tracer) IPetUsecase

Jump to

Keyboard shortcuts

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