printer

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Output io.Writer = os.Stdout

Functions

This section is empty.

Types

type Across added in v0.3.0

type Across struct {
	*bufio.Writer
}

func NewAcross added in v0.3.0

func NewAcross() *Across

func (*Across) Print added in v0.3.0

func (a *Across) Print(s ...string)

type Byline

type Byline struct {
	*bufio.Writer
}

func (*Byline) Print

func (b *Byline) Print(s ...string)

type CommaPrint added in v0.3.0

type CommaPrint struct {
	*Across
}

func NewCommaPrint added in v0.3.0

func NewCommaPrint() *CommaPrint

func (*CommaPrint) Print added in v0.3.0

func (c *CommaPrint) Print(s ...string)

type FitTerminal

type FitTerminal struct {
	*bufio.Writer
}

func (*FitTerminal) Print

func (f *FitTerminal) Print(s ...string)

type Printer

type Printer interface {
	Print(s ...string)
}

func NewByline added in v0.3.0

func NewByline() Printer

func NewFitTerminal added in v0.3.0

func NewFitTerminal() Printer

type Zero added in v0.3.0

type Zero struct {
	bufio.Writer
}

func NewZero added in v0.3.0

func NewZero() *Zero

func (*Zero) Print added in v0.3.0

func (z *Zero) Print(s ...string)

Jump to

Keyboard shortcuts

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