package actions import ( . "github.com/mickael-kerjean/filestash/server/common" ) func init() { Hooks.Register.WorkflowAction(&ToolsDebug{}) } type ToolsDebug struct{} func (this *ToolsDebug) Manifest() WorkflowSpecs { return WorkflowSpecs{ Name: "tools/debug", Title: "Debug", Icon: ``, Specs: map[string]FormElement{}, } } func (this *ToolsDebug) Execute(params map[string]string, input map[string]string) (map[string]string, error) { Log.Info("[workflow] action=tools/debug input=%v", input) return input, nil }