zenutil

package
v0.10.12 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package zenutil is internal. DO NOT USE.

Index

Constants

View Source
const (
	ErrCanceled    = stringErr("dialog canceled")
	ErrExtraButton = stringErr("extra button pressed")
	ErrUnsupported = stringErr("unsupported option")
)

These are internal.

Variables

View Source
var (
	Command bool
	Timeout int

	DateFormat = "%Y-%m-%d"
	DateUTS35  = func() (string, error) { return "yyyy-MM-dd", nil }
	DateParse  = func(s string) (time.Time, error) { return time.Parse("2006-01-02", s) }
)

These are internal.

View Source
var (
	Separator = "\x1e"
	LineBreak = "\n"
)

These are internal.

Functions

func ColorEquals added in v0.7.8

func ColorEquals(c1, c2 color.Color) bool

ColorEquals is internal.

func IsAvailable added in v0.10.2

func IsAvailable() bool

IsAvailable is internal.

func ParseColor

func ParseColor(s string) color.Color

ParseColor is internal.

func Run

func Run(ctx context.Context, args []string) ([]byte, error)

Run is internal.

func RunProgress added in v0.7.0

func RunProgress(ctx context.Context, max int, close bool, extra *string, args []string) (*progressDialog, error)

RunProgress is internal.

func UnparseColor

func UnparseColor(c color.Color) string

UnparseColor is internal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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