format

package
v0.0.0-...-02acef5 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ColorCompleted = color.HEX("#fcba03")
	ColorTodo      = color.HEX("#777777")
)

Functions

This section is empty.

Types

type Simple

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

func NewSimple

func NewSimple(width int) Simple

func NewSimpleWithTheme

func NewSimpleWithTheme(width int, theme SimpleTheme, doneHexColor, todoHexColor color.RGBColor) Simple

func (Simple) Format

func (s Simple) Format(p progress.Progress) (string, error)

type SimplePosition

type SimplePosition int

type SimpleTheme

type SimpleTheme int
const (
	LiteTheme SimpleTheme = iota
	LiteSquashTheme
	HeavyTheme
	HeavySquashTheme
	ReallyHeavySquashTheme
	HeavyNoBarTheme
)

Jump to

Keyboard shortcuts

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