with any instead

This commit is contained in:
Kasper Juul Hermansen 2022-11-05 23:20:06 +01:00
parent 12880e9ab3
commit f38f4764a7
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
2 changed files with 3 additions and 4 deletions

View File

@ -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) {

View File

@ -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")
}