formatting

package
Version: v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// cSpell:ignore cdcfe
	NameColor  = rgbColorFunc("9cdcfe")
	ValueColor = func(i interface{}) string {
		return rgbColorFunc("ce9178")(fmt.Sprint(i))
	}
)

Functions

func IsColorTerminal added in v0.2.0

func IsColorTerminal(w io.Writer) bool

func PrintInstance

func PrintInstance(w io.Writer, i *vssetup.Instance, opts Options)

Types

type Includes added in v0.3.0

type Includes int
const (
	Errors   Includes = 1
	Packages Includes = 2
)

type Options added in v0.3.0

type Options struct {
	Include Includes
	Locale  language.Tag
	Raw     bool
}

Jump to

Keyboard shortcuts

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