Add extension widget

This commit is contained in:
Svilen Markov
2024-05-31 02:03:21 +01:00
parent b3be60acf6
commit 342ef90cbe
5 changed files with 164 additions and 0 deletions

View File

@@ -53,6 +53,8 @@ func New(widgetType string) (Widget, error) {
return &Repository{}, nil
case "search":
return &Search{}, nil
case "extension":
return &Extension{}, nil
default:
return nil, fmt.Errorf("unknown widget type: %s", widgetType)
}