github.com/miguelgrubin/gin-boilerplate@v0.0.0-20231208120009-f8f00c6d4138/pkg/petshop/domain/pet_repository.go (about)

     1  package domain
     2  
     3  import "github.com/miguelgrubin/gin-boilerplate/pkg/shared"
     4  
     5  type PetRepository interface {
     6  	FindOne(shared.EntityID) (*Pet, error)
     7  	FindAll() ([]Pet, error)
     8  	Save(Pet) error
     9  	Delete(shared.EntityID) error
    10  }