calculator

package
v0.0.0-...-5e3f0a1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: CC-BY-SA-4.0 Imports: 2 Imported by: 0

Documentation

Overview

Package calculator is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adder

type Adder interface {
	Add(a, b int) int
}

type MockAdder

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

MockAdder is a mock of Adder interface.

func NewMockAdder

func NewMockAdder(ctrl *gomock.Controller) *MockAdder

NewMockAdder creates a new mock instance.

func (*MockAdder) Add

func (m *MockAdder) Add(a, b int) int

Add mocks base method.

func (*MockAdder) EXPECT

func (m *MockAdder) EXPECT() *MockAdderMockRecorder

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

type MockAdderMockRecorder

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

MockAdderMockRecorder is the mock recorder for MockAdder.

func (*MockAdderMockRecorder) Add

func (mr *MockAdderMockRecorder) Add(a, b any) *gomock.Call

Add indicates an expected call of Add.

Jump to

Keyboard shortcuts

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