Some checks failed
Docs Deploy / build_and_deploy (push) Has been cancelled
Generate Docs / cli (push) Has been cancelled
Generate Config Doc / cli (push) Has been cancelled
Go formatting / go-formatting (push) Has been cancelled
Check links / markdown-link-check (push) Has been cancelled
Integration / pre-test (push) Has been cancelled
Integration / test on (push) Has been cancelled
Integration / status (push) Has been cancelled
Lint / Lint Go code (push) Has been cancelled
Test / test (ubuntu-latest) (push) Has been cancelled
24 lines
480 B
Go
24 lines
480 B
Go
package testdata
|
|
|
|
import (
|
|
"context"
|
|
|
|
tea "github.com/charmbracelet/bubbletea"
|
|
|
|
"git.cw.tr/mukan-network/mukan-ignite/ignite/pkg/events"
|
|
)
|
|
|
|
func FooCmd() tea.Msg { return nil }
|
|
|
|
type ModelContext struct{}
|
|
|
|
func (ModelContext) Context() context.Context { return context.TODO() }
|
|
func (ModelContext) SetContext(context.Context) {}
|
|
|
|
type DummyEventsProvider struct{}
|
|
|
|
func (DummyEventsProvider) Events() <-chan events.Event {
|
|
c := make(chan events.Event)
|
|
close(c)
|
|
return c
|
|
}
|