printer

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Printer

type Printer func(io.Writer, ...any) error

Printer is a function that prints something to somewhere :)

func DefaultPrinter

func DefaultPrinter() Printer

DefaultPrinter returns default printing function.

func StringPrefixPrinter

func StringPrefixPrinter(prefix string) Printer

Jump to

Keyboard shortcuts

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