mirror of
https://github.com/glanceapp/glance.git
synced 2025-08-09 23:57:39 +02:00
feat: add change detection module
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user