app

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Red     = color.New(color.FgRed).SprintFunc()
	Magenta = color.New(color.FgMagenta).SprintFunc()
	Cyan    = color.New(color.FgCyan).SprintFunc()
	Green   = color.New(color.FgGreen).SprintFunc()
	Yellow  = color.New(color.FgYellow).SprintFunc()
)

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App is a struct that contains information about our command state

func CreateApp

func CreateApp() *App

CreateApp initialises a new App struct with the required initial values

func (*App) Start

func (e *App) Start() error

Start begins a goroutine that listens on the input channel for instructions

Jump to

Keyboard shortcuts

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