mock

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockJSON added in v1.0.1

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

MockJSON is a mock of JSON interface.

func NewMockJSON added in v1.0.1

func NewMockJSON(ctrl *gomock.Controller) *MockJSON

NewMockJSON creates a new mock instance.

func (*MockJSON) EXPECT added in v1.0.1

func (m *MockJSON) EXPECT() *MockJSONMockRecorder

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

func (*MockJSON) Marshal added in v1.0.1

func (m *MockJSON) Marshal(v interface{}) ([]byte, error)

Marshal mocks base method.

func (*MockJSON) MarshalWrite added in v1.0.1

func (m *MockJSON) MarshalWrite(destPath string, v interface{}, pretty bool) error

MarshalWrite mocks base method.

func (*MockJSON) Unmarshal added in v1.0.1

func (m *MockJSON) Unmarshal(data []byte, v interface{}) error

Unmarshal mocks base method.

func (*MockJSON) UnmarshalRead added in v1.0.1

func (m *MockJSON) UnmarshalRead(srcPath string, v interface{}) error

UnmarshalRead mocks base method.

type MockJSONMockRecorder added in v1.0.1

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

MockJSONMockRecorder is the mock recorder for MockJSON.

func (*MockJSONMockRecorder) Marshal added in v1.0.1

func (mr *MockJSONMockRecorder) Marshal(v interface{}) *gomock.Call

Marshal indicates an expected call of Marshal.

func (*MockJSONMockRecorder) MarshalWrite added in v1.0.1

func (mr *MockJSONMockRecorder) MarshalWrite(destPath, v, pretty interface{}) *gomock.Call

MarshalWrite indicates an expected call of MarshalWrite.

func (*MockJSONMockRecorder) Unmarshal added in v1.0.1

func (mr *MockJSONMockRecorder) Unmarshal(data, v interface{}) *gomock.Call

Unmarshal indicates an expected call of Unmarshal.

func (*MockJSONMockRecorder) UnmarshalRead added in v1.0.1

func (mr *MockJSONMockRecorder) UnmarshalRead(srcPath, v interface{}) *gomock.Call

UnmarshalRead indicates an expected call of UnmarshalRead.

Jump to

Keyboard shortcuts

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