utils

package
v0.0.0-...-0de771a Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMockedCalls

func NewMockedCalls() *mockedCalls

func ToError

func ToError(i any) error

func ToPointer

func ToPointer[T any](i any) *T

Types

type MockedCalls

type MockedCalls interface {
	Next(t *testing.T, expected string) (int, []interface{})
	AppendCall(name string, expectedObjects ...interface{})
	AssertNoCallsLeft(t *testing.T) bool
}

Jump to

Keyboard shortcuts

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