shared

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSpinner

func NewSpinner() spinner.Model

Types

type ErrorMsg

type ErrorMsg struct{}

type Index

type Index int

type Message

type Message struct{ Err error }

type OtherMsg

type OtherMsg struct{}

type SetMsg

type SetMsg string

type State

type State int
const (
	Ready State = iota
	Loading
)

type Styles

type Styles struct {
	BaseStyle,
	Wrap,
	Doc,
	Subtle,
	Success,
	Error,
	Bold lipgloss.Style
}

func DefaultStyles

func DefaultStyles() Styles

type SuccessMsg

type SuccessMsg struct{}

Jump to

Keyboard shortcuts

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