matcher

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2019 License: MIT Imports: 2 Imported by: 3

README

gomock-type-matcher

Collections of type matcher for GoMock

GoDoc Actions Status Go Report Card codecov

Documentation

Overview

Package matcher contains several gomock matchers to avoid using Any() each time we don't know the precise value of a params in our mocks

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int

func Int() gomock.Matcher

Int returns a Matcher to match int params

func Int64

func Int64() gomock.Matcher

Int64 returns a Matcher to match int64 params

func Interface

func Interface(i interface{}) gomock.Matcher

Interface returns a Matcher to match params using the string representation of an interface

func String

func String() gomock.Matcher

String returns a Matcher to match string params

func Type

func Type(typ string) gomock.Matcher

Type returns a Matcher to match params using the string representation of a type

Types

This section is empty.

Jump to

Keyboard shortcuts

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