Update change detection
This commit is contained in:
parent
6cad5a8efb
commit
00a93e466d
8 changed files with 140 additions and 84 deletions
|
|
@ -43,12 +43,12 @@ func New(widgetType string) (Widget, error) {
|
|||
return &TwitchGames{}, nil
|
||||
case "twitch-channels":
|
||||
return &TwitchChannels{}, nil
|
||||
case "changes":
|
||||
return &ChangeDetections{}, nil
|
||||
case "change-detection":
|
||||
return &ChangeDetection{}, nil
|
||||
case "repository":
|
||||
return &Repository{}, nil
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown widget type: %s found", widgetType)
|
||||
return nil, fmt.Errorf("unknown widget type: %s", widgetType)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue