feat: add change detection module

This commit is contained in:
Shashank S
2024-05-08 11:47:25 +02:00
parent e204029d3c
commit 7adf624e95
6 changed files with 167 additions and 1 deletions

View File

@ -43,8 +43,10 @@ func New(widgetType string) (Widget, error) {
return &TwitchGames{}, nil
case "twitch-channels":
return &TwitchChannels{}, nil
case "changes":
return &ChangeDetections{}, nil
default:
return nil, fmt.Errorf("unknown widget type: %s", widgetType)
return nil, fmt.Errorf("unknown widget type: %s found", widgetType)
}
}