Remove unused destination service methods

This commit is contained in:
Luis Eduardo Jeréz Girón
2024-07-20 18:39:34 -06:00
parent 2469221bde
commit 8e5d873d40
5 changed files with 0 additions and 5 deletions
@@ -6,7 +6,6 @@ import (
"github.com/eduardolat/pgbackweb/internal/database/dbgen"
)
// CreateDestination creates a new destination entry.
func (s *Service) CreateDestination(
ctx context.Context, params dbgen.DestinationsServiceCreateDestinationParams,
) (dbgen.Destination, error) {
@@ -6,7 +6,6 @@ import (
"github.com/google/uuid"
)
// DeleteDestination deletes a destination entry by ID.
func (s *Service) DeleteDestination(
ctx context.Context, id uuid.UUID,
) error {
@@ -7,7 +7,6 @@ import (
"github.com/google/uuid"
)
// GetDestination retrieves a destination entry by ID.
func (s *Service) GetDestination(
ctx context.Context, id uuid.UUID,
) (dbgen.Destination, error) {
@@ -6,7 +6,6 @@ import (
"github.com/eduardolat/pgbackweb/internal/database/dbgen"
)
// ListDestinations lists all destination entries.
func (s *Service) ListDestinations(
ctx context.Context,
) ([]dbgen.Destination, error) {
@@ -6,7 +6,6 @@ import (
"github.com/eduardolat/pgbackweb/internal/database/dbgen"
)
// UpdateDestination updates an existing destination entry.
func (s *Service) UpdateDestination(
ctx context.Context, params dbgen.DestinationsServiceUpdateDestinationParams,
) (dbgen.Destination, error) {