utils

package
v0.0.0-...-6c7f99c Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ShellToUse = "bash"

Variables

This section is empty.

Functions

func LipglossPadding

func LipglossPadding(style lipgloss.Style) (int, int)

LipglossPadding calculates how much padding a string is given by a style.

func Shellout

func Shellout(command string) (stdOut, stdErr string, err error)

Types

type GetResult

type GetResult interface {
	GetResult() string
}

type Result

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

func (Result) GetResult

func (o Result) GetResult() []string

func (Result) GetResult0

func (o Result) GetResult0() string

func (*Result) SetResult

func (o *Result) SetResult(result ...string)

Jump to

Keyboard shortcuts

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