Add Lobsters widget
This commit is contained in:
parent
e78619f5e1
commit
344f518991
3 changed files with 195 additions and 0 deletions
|
|
@ -43,6 +43,8 @@ func New(widgetType string) (Widget, error) {
|
|||
return &TwitchGames{}, nil
|
||||
case "twitch-channels":
|
||||
return &TwitchChannels{}, nil
|
||||
case "lobsters":
|
||||
return &Lobsters{}, nil
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown widget type: %s", widgetType)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue