component: Remove legacy type alias

This commit is contained in:
Tom Wiesing 2022-11-14 10:57:37 +01:00
parent 11b2e3eb37
commit 162b1d3d65
No known key found for this signature in database
4 changed files with 9 additions and 12 deletions

View file

@ -8,7 +8,7 @@ import (
_ "embed"
"github.com/FAU-CDI/wisski-distillery/internal/dis/component/control/static"
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient/info"
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient"
"github.com/FAU-CDI/wisski-distillery/pkg/timex"
"github.com/tkw1536/goprogram/stream"
"golang.org/x/sync/errgroup"
@ -65,7 +65,7 @@ func (home *Home) homeRender() ([]byte, error) {
if err != nil {
return nil, err
}
context.Instances = make([]info.WissKIInfo, len(wissKIs))
context.Instances = make([]ingredient.Information, len(wissKIs))
// determine their infos
var eg errgroup.Group
@ -86,7 +86,7 @@ func (home *Home) homeRender() ([]byte, error) {
}
type HomeContext struct {
Instances []info.WissKIInfo
Instances []ingredient.Information
Time time.Time