gomock

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(t *testing.T) *gomock.Controller

NewController creates a new gomock.Controller

Types

type Call

type Call = gomock.Call

Call is a re-export of gomock.Call

type Controller

type Controller = gomock.Controller

Controller is a re-export of gomock.Controller

type Matcher

type Matcher = gomock.Matcher

Matcher is a re-export of gomock.Matcher

func Any

func Any() Matcher

Any returns a matcher that matches any value of the specified type

func Eq

func Eq(x interface{}) Matcher

Eq returns a matcher that matches values equal to x

func Nil

func Nil() Matcher

Nil returns a matcher that matches nil values

func Not

func Not(m Matcher) Matcher

Not returns a matcher that negates the given matcher

Jump to

Keyboard shortcuts

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