fake

package
v1.0.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CtxWithNilPrinter

func CtxWithNilPrinter() context.Context

CtxWithNilPrinter returns a new context with the NilPrinter added.

Types

type NilPrinter

type NilPrinter struct{}

NilPrinter implements the printer.Printer interface and just ignores all print calls.

func (*NilPrinter) OptPrintf

func (np *NilPrinter) OptPrintf(*printer.Options, string, ...interface{})

func (*NilPrinter) Printf

func (np *NilPrinter) Printf(string, ...interface{})

Jump to

Keyboard shortcuts

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