From f38f4764a7e99c78ba83c1c6578ecee0cf22ff94 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 5 Nov 2022 23:20:06 +0100 Subject: [PATCH] with any instead --- plugins/gocli/main.go | 5 ++--- plugins/rust/main.go | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/gocli/main.go b/plugins/gocli/main.go index 29b1126..293b799 100644 --- a/plugins/gocli/main.go +++ b/plugins/gocli/main.go @@ -10,9 +10,8 @@ import ( type GoCliPlugin struct{} // Do implements register.Plugin -func (*GoCliPlugin) Do(ctx context.Context, commandName string, args map[string]string) error { - log.Print("hit do") - return nil +func (*GoCliPlugin) Do(ctx context.Context, cmd *register.DoCommand) error { + panic("unimplemented") } func (*GoCliPlugin) About(ctx context.Context) (*register.About, error) { diff --git a/plugins/rust/main.go b/plugins/rust/main.go index 3c910b4..224cdc8 100644 --- a/plugins/rust/main.go +++ b/plugins/rust/main.go @@ -10,7 +10,7 @@ import ( type GoCliPlugin struct{} // Do implements register.Plugin -func (*GoCliPlugin) Do(ctx context.Context, commandName string, args map[string]string) error { +func (*GoCliPlugin) Do(ctx context.Context, cmd *register.DoCommand) error { panic("unimplemented") }