printer

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mock

type Mock struct {
	mock.Mock
}

func NewMock

func NewMock() *Mock

func (*Mock) Green

func (m *Mock) Green(format string, a ...any)

func (*Mock) HiRed

func (m *Mock) HiRed(format string, a ...any)

func (*Mock) Printf added in v0.2.0

func (m *Mock) Printf(format string, a ...any)

func (*Mock) Println

func (m *Mock) Println(a ...any)

func (*Mock) Red

func (m *Mock) Red(format string, a ...any)

func (*Mock) Yellow

func (m *Mock) Yellow(format string, a ...any)

type Printer

type Printer interface {
	Green(format string, a ...any)
	HiRed(format string, a ...any)
	Printf(format string, a ...any)
	Println(a ...any)
	Red(format string, a ...any)
	Yellow(format string, a ...any)
}

func New

func New(colorize bool) Printer

Jump to

Keyboard shortcuts

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