dynamo-browse/internal/common/ui/commandctrl/iface.go

15 lines
272 B
Go

package commandctrl
import (
"context"
"github.com/lmika/dynamo-browse/internal/dynamo-browse/services"
)
type IterProvider interface {
Iter(ctx context.Context, category string) services.HistoryProvider
}
type UIStateProvider interface {
SelectedItemIndex() int
}