mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-04-26 06:08:12 -05:00
Remove unused destination service methods
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user