ui

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2020 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UI

type UI struct {
	tview.Primitive
	// contains filtered or unexported fields
}

UI is the tview.Primitive associated with the overall UI.

func NewUI

func NewUI(
	categories *model.Categories,
) *UI

NewUI is a factory for UI.

func (*UI) Categories added in v1.0.4

func (ui *UI) Categories(categories *model.Categories)

Categories sets the model.Categories used on the UI.

func (*UI) Run

func (ui *UI) Run()

Run the UI.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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