vegr

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: Unlicense Imports: 4 Imported by: 0

Documentation

Overview

Package vegr (hel...vegr - the road to helheim) is a place to store library calls that hel mocks need in order to work. We put any non-trivial logic here so that it can have tests, and then allow hel mocks to import and use this properly-tested logic.

Since this is only intended for use by generated code, it eagerly panics for obviously incorrect usage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PopulateReturns

func PopulateReturns(t T, name string, timeout time.Duration, mock interface{}, addrs ...interface{})

Types

type T

type T interface {
	Helper()
	Failed() bool
	Fatalf(string, ...interface{})
}

Jump to

Keyboard shortcuts

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