Rename widget to just repository
This commit is contained in:
parent
4beab6bcec
commit
818138340c
6 changed files with 12 additions and 12 deletions
|
|
@ -43,8 +43,8 @@ func New(widgetType string) (Widget, error) {
|
|||
return &TwitchGames{}, nil
|
||||
case "twitch-channels":
|
||||
return &TwitchChannels{}, nil
|
||||
case "repository-overview":
|
||||
return &RepositoryOverview{}, nil
|
||||
case "repository":
|
||||
return &Repository{}, nil
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown widget type: %s", widgetType)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue