summaryrefslogtreecommitdiff
path: root/internal/askcli/command_delete.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-27 07:18:04 +0200
committerPaul Buetow <paul@buetow.org>2026-03-27 07:18:04 +0200
commitd3586ad2b2b140435055c349393154ae7cfffaea (patch)
treede03bb45cb75b138d71f54b105e695672b7d802c /internal/askcli/command_delete.go
parentf146fbc4cc25bcdeab19a0c1055c839776cebff4 (diff)
task 3a4c0f14-16ad-487f-af7c-bd99ee6464e6: use pointer Dispatcher receivers
Diffstat (limited to 'internal/askcli/command_delete.go')
-rw-r--r--internal/askcli/command_delete.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/askcli/command_delete.go b/internal/askcli/command_delete.go
index 1efaad9..4e93add 100644
--- a/internal/askcli/command_delete.go
+++ b/internal/askcli/command_delete.go
@@ -6,7 +6,7 @@ import (
"io"
)
-func (d Dispatcher) handleDelete(ctx context.Context, args []string, stdin io.Reader, stdout, stderr io.Writer) (int, error) {
+func (d *Dispatcher) handleDelete(ctx context.Context, args []string, stdin io.Reader, stdout, stderr io.Writer) (int, error) {
if len(args) < 2 {
io.WriteString(stderr, "error: ask delete requires an ID or UUID argument\n")
return 1, nil