Add search box

This commit is contained in:
chand1012 2024-05-15 20:04:08 -04:00
parent 7743664527
commit 0f01a8eda5
No known key found for this signature in database
GPG key ID: CCCFE98EEFB1BDD0
8 changed files with 141 additions and 0 deletions

View file

@ -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)
}