WIP
This commit is contained in:
parent
f38f4764a7
commit
e51d10b267
@ -11,7 +11,8 @@ type GoCliPlugin struct{}
|
|||||||
|
|
||||||
// Do implements register.Plugin
|
// Do implements register.Plugin
|
||||||
func (*GoCliPlugin) Do(ctx context.Context, cmd *register.DoCommand) error {
|
func (*GoCliPlugin) Do(ctx context.Context, cmd *register.DoCommand) error {
|
||||||
panic("unimplemented")
|
log.Printf("received command: %s", cmd.CommandName)
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (*GoCliPlugin) About(ctx context.Context) (*register.About, error) {
|
func (*GoCliPlugin) About(ctx context.Context) (*register.About, error) {
|
||||||
|
@ -11,7 +11,8 @@ type GoCliPlugin struct{}
|
|||||||
|
|
||||||
// Do implements register.Plugin
|
// Do implements register.Plugin
|
||||||
func (*GoCliPlugin) Do(ctx context.Context, cmd *register.DoCommand) error {
|
func (*GoCliPlugin) Do(ctx context.Context, cmd *register.DoCommand) error {
|
||||||
panic("unimplemented")
|
log.Printf("received command: %s", cmd.CommandName)
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (*GoCliPlugin) About(ctx context.Context) (*register.About, error) {
|
func (*GoCliPlugin) About(ctx context.Context) (*register.About, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user