testhelper

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Stackify

func Stackify(m tea.Model) tea.Model

Types

type FakeDimensionModel

type FakeDimensionModel struct {
	Value  string
	Width  int
	Height int
}

func (*FakeDimensionModel) Init

func (f *FakeDimensionModel) Init() tea.Cmd

func (*FakeDimensionModel) SetHeight

func (f *FakeDimensionModel) SetHeight(height int)

func (*FakeDimensionModel) SetWidth

func (f *FakeDimensionModel) SetWidth(width int)

func (*FakeDimensionModel) Update

func (f *FakeDimensionModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*FakeDimensionModel) View

func (f *FakeDimensionModel) View() string

type SimpleModel

type SimpleModel struct {
	Str string
}

func (*SimpleModel) Init

func (m *SimpleModel) Init() tea.Cmd

func (*SimpleModel) Update

func (m *SimpleModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*SimpleModel) View

func (m *SimpleModel) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL