package bugreport

import "github.com/golang/mock/mockgen/internal/tests/unexported_method"

Package bugreport is a generated GoMock package.

Index

Functions

func CallExample

func CallExample(e Example)

CallExample is a simple function that uses the interface

Types

type Example

type Example interface {
	// contains filtered or unexported methods
}

Example is an interface with a non exported method

type MockExample

type MockExample struct {
	// contains filtered or unexported fields
}

MockExample is a mock of Example interface.

func NewMockExample

func NewMockExample(ctrl *gomock.Controller) *MockExample

NewMockExample creates a new mock instance.

func (*MockExample) EXPECT

func (m *MockExample) EXPECT() *MockExampleMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type MockExampleMockRecorder

type MockExampleMockRecorder struct {
	// contains filtered or unexported fields
}

MockExampleMockRecorder is the mock recorder for MockExample.

Source Files

bugreport.go bugreport_mock.go

Version
v1.6.0 (latest)
Published
Jun 11, 2021
Platform
linux/amd64
Imports
3 packages
Last checked
5 days ago

Tools for package owners.