singleton

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package singleton is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockISingleton

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

MockISingleton is a mock of ISingleton interface.

func NewMockISingleton

func NewMockISingleton(ctrl *gomock.Controller) *MockISingleton

NewMockISingleton creates a new mock instance.

func (*MockISingleton) EXPECT

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

func (*MockISingleton) GetName

func (m *MockISingleton) GetName() string

GetName mocks base method.

func (*MockISingleton) SetName

func (m *MockISingleton) SetName(arg0 string)

SetName mocks base method.

type MockISingletonMockRecorder

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

MockISingletonMockRecorder is the mock recorder for MockISingleton.

func (*MockISingletonMockRecorder) GetName

func (mr *MockISingletonMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName.

func (*MockISingletonMockRecorder) SetName

func (mr *MockISingletonMockRecorder) SetName(arg0 interface{}) *gomock.Call

SetName indicates an expected call of SetName.

Jump to

Keyboard shortcuts

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