display

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 4 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Out io.Writer = os.Stdout
	Err io.Writer = os.Stderr
)

Functions

func ErrF

func ErrF(format string, args ...interface{}) (n int, err error)

func OutF

func OutF(format string, args ...interface{}) (n int, err error)

func OutputLogLines

func OutputLogLines(header string, logLines []LogLine)

func SetErr

func SetErr(err io.Writer)

func SetLogHeader

func SetLogHeader(logHeader string)

func SetOut

func SetOut(out io.Writer)

Types

type LogLine

type LogLine struct {
	Timestamp string
	Message   string
}

Jump to

Keyboard shortcuts

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