fakeprogress

package
v0.44.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package fakeprogress provides an implementation of the progress.Printer interface to be used in tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Printer

type Printer struct {
	Started int
	Stopped int
}

Printer is a mock of the Printer interface.

func (*Printer) Start

func (p *Printer) Start()

Start adds 1 to the Started field.

func (*Printer) Stop

func (p *Printer) Stop()

Stop adds 1 to the Stopped field.

Jump to

Keyboard shortcuts

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