diff --git a/src/pkg/service/pet/pet.service.go b/src/pkg/service/pet/pet.service.go index 9862eee..fbbe5bc 100644 --- a/src/pkg/service/pet/pet.service.go +++ b/src/pkg/service/pet/pet.service.go @@ -5,7 +5,7 @@ import ( ) type Service interface { - FindAll() ([]*dto.PetResponse, *dto.ResponseErr) + FindAll(*dto.FindAllPetRequest) (*dto.FindAllPetResponse, *dto.ResponseErr) FindOne(string) (*dto.PetResponse, *dto.ResponseErr) Create(*dto.CreatePetRequest) (*dto.PetResponse, *dto.ResponseErr) Update(string, *dto.UpdatePetRequest) (*dto.PetResponse, *dto.ResponseErr)