mock_common

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_common is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApi

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

MockApi is a mock of Api interface

func NewMockApi

func NewMockApi(ctrl *gomock.Controller) *MockApi

NewMockApi creates a new mock instance

func (*MockApi) EXPECT

func (m *MockApi) EXPECT() *MockApiMockRecorder

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

func (*MockApi) Req

func (m *MockApi) Req(ctx context.Context, method, url string, param, body any, headers map[string]string, response any) *durianpay.Error

Req mocks base method

type MockApiMockRecorder

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

MockApiMockRecorder is the mock recorder for MockApi

func (*MockApiMockRecorder) Req

func (mr *MockApiMockRecorder) Req(ctx, method, url, param, body, headers, response interface{}) *gomock.Call

Req indicates an expected call of Req

Jump to

Keyboard shortcuts

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