testutils

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(out io.Writer) *logrus.Logger

Types

type Teardown

type Teardown func()

func CombineInto

func CombineInto(tds ...Teardown) Teardown

CombineInto returns one Teardown function, which applies tds in order

func (Teardown) CombineInto

func (first Teardown) CombineInto(other ...Teardown) Teardown

CombineInto returns one Teardown function, which applies {first: Teardown} first and then {other []Teardown} in order remarks: note that {first: Teardown} does not get updated!

Jump to

Keyboard shortcuts

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