feat: add change detection module
This commit is contained in:
parent
e204029d3c
commit
7adf624e95
6 changed files with 167 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue