Some checks are pending
Docs Deploy / build_and_deploy (push) Waiting to run
Generate Docs / cli (push) Waiting to run
Generate Config Doc / cli (push) Waiting to run
Go formatting / go-formatting (push) Waiting to run
Check links / markdown-link-check (push) Waiting to run
Integration / pre-test (push) Waiting to run
Integration / test on (push) Blocked by required conditions
Integration / status (push) Blocked by required conditions
Lint / Lint Go code (push) Waiting to run
Test / test (ubuntu-latest) (push) Waiting to run
24 lines
469 B
Go
24 lines
469 B
Go
package testdata
|
|
|
|
import (
|
|
"context"
|
|
|
|
tea "github.com/charmbracelet/bubbletea"
|
|
|
|
"github.com/ignite/cli/v29/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
|
|
}
|