requirement

package
v0.0.58 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderRequirement

func RenderRequirement(req model.Requirement) string

RenderRequirement will provide a more indepth view of the requirement.

Types

type ListView

type ListView struct {
	List         list.Model
	Requirements map[string]model.Requirement
	Requirement  *model.Requirement
	Client       client.API
}

ListView is responsible for presenting a list view to the user.

func (ListView) Init

func (lv ListView) Init() tea.Cmd

Init will initialise the view.

func (ListView) Update

func (lv ListView) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update will update the view.

func (ListView) View

func (lv ListView) View() string

View will render the view.

Jump to

Keyboard shortcuts

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