util

package
v0.0.0-...-413337b Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Faint = lg.AdaptiveColor{
		Light: "#D9DCCF",
		Dark:  "#383838",
	}
	Red   = lg.Color("#ff0000")
	Green = lg.Color("#008000")
)
View Source
var OutputFile string

Functions

func IsStdinEmpty

func IsStdinEmpty() bool

IsStdinEmpty returns whether stdin is empty.

func ReadStdin

func ReadStdin() []byte

ReadStdin read standard input

func Show

func Show(data []byte)

func ShowCode

func ShowCode(code string, data []byte)

func ShowFatal

func ShowFatal(err error)

func ShowKVs

func ShowKVs(res ...string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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