ret

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockerFieldIdx

func BlockerFieldIdx(mock interface{}) int

BlockerFieldIdx returns the index of the Blocker field, if any.

Types

type Blocker

type Blocker chan struct{}

Blocker is a type which can be used in hel mocks to block method returns. When the return is unblocked, the channel is expected to have a value buffered.

Jump to

Keyboard shortcuts

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