fake

package
v2.11.26 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetController

func GetController(ctx context.Context) *gomock.Controller

GetController returns the gomock.Controller associated with this context.

func GetT

func GetT(ctx context.Context) *testing.T

GetT returns the *testing.T associated with this context.

func WithInjection

func WithInjection(ctx context.Context, t *testing.T) context.Context

WithInjection is used in tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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