output

package
v0.8.11 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: Apache-2.0 Imports: 5 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 & analytics 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