global

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Exports = _p0.Exports{
	{N: "args", T: _p0.Func, F: _args},
	{N: "batch", T: _p0.Func, F: _batch},
	{N: "close", T: _p0.Func, F: _close},
	{N: "color", T: _p0.Func, F: _color},
	{N: "deep_equal", T: _p0.Func, F: _deep_equal},
	{N: "discard", T: _p0.Func, F: _discard},
	{N: "do", T: _p0.Func, F: _do},
	{N: "dont_close", T: _p0.Func, F: _dont_close},
	{N: "enumerate", T: _p0.Func, F: _enumerate},
	{N: "env", T: _p0.Func, F: _env},
	{N: "filter", T: _p0.Func, F: _filter},
}

Functions

func ColorAttribute

func ColorAttribute(v string) (attrib fatihcolor.Attribute, err error)

ColorAttribute converts a color name string to a fatih/color attribute.

Types

type ColorMod

type ColorMod struct {
	Color *fatihcolor.Color
}

ColorMod is a print modifier that applies color formatting.

func (*ColorMod) String

func (m *ColorMod) String() string

func (*ColorMod) Traits

func (m *ColorMod) Traits() vm.Traits

func (*ColorMod) Type

func (m *ColorMod) Type() string

Jump to

Keyboard shortcuts

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