output

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CtxForTest

func CtxForTest() context.Context

CtxForTest returns a context.Context suitable for use in tests (i.e. with logger, attached).

func ForkedCtxForTest

func ForkedCtxForTest(w io.Writer) context.Context

CtxForTest returns a context.Context suitable for use in tests (i.e. with logger attached), and with all output being copied to `w`

Types

This section is empty.

Jump to

Keyboard shortcuts

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