Add search box
This commit is contained in:
parent
7743664527
commit
0f01a8eda5
8 changed files with 141 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ func New(widgetType string) (Widget, error) {
|
|||
return &TwitchChannels{}, nil
|
||||
case "repository":
|
||||
return &Repository{}, nil
|
||||
case "search":
|
||||
return &Search{}, nil
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown widget type: %s", widgetType)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue