Add extension widget
This commit is contained in:
parent
b3be60acf6
commit
342ef90cbe
5 changed files with 164 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue