mock_email

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_email is a generated GoMock package.

Package mock_email is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) EXPECT

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

func (*MockInterface) GenerateBody

func (m *MockInterface) GenerateBody() email.TemplateInterface

GenerateBody mocks base method.

func (*MockInterface) SendEmail

func (m *MockInterface) SendEmail(ctx context.Context, params email.SendEmailParams) error

SendEmail mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) GenerateBody

func (mr *MockInterfaceMockRecorder) GenerateBody() *gomock.Call

GenerateBody indicates an expected call of GenerateBody.

func (*MockInterfaceMockRecorder) SendEmail

func (mr *MockInterfaceMockRecorder) SendEmail(ctx, params any) *gomock.Call

SendEmail indicates an expected call of SendEmail.

type MockTemplateInterface

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

MockTemplateInterface is a mock of TemplateInterface interface.

func NewMockTemplateInterface

func NewMockTemplateInterface(ctrl *gomock.Controller) *MockTemplateInterface

NewMockTemplateInterface creates a new mock instance.

func (*MockTemplateInterface) EXPECT

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

func (*MockTemplateInterface) FromHTML

FromHTML mocks base method.

func (*MockTemplateInterface) FromMJML

FromMJML mocks base method.

type MockTemplateInterfaceMockRecorder

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

MockTemplateInterfaceMockRecorder is the mock recorder for MockTemplateInterface.

func (*MockTemplateInterfaceMockRecorder) FromHTML

func (mr *MockTemplateInterfaceMockRecorder) FromHTML(params any) *gomock.Call

FromHTML indicates an expected call of FromHTML.

func (*MockTemplateInterfaceMockRecorder) FromMJML

func (mr *MockTemplateInterfaceMockRecorder) FromMJML(ctx, params any) *gomock.Call

FromMJML indicates an expected call of FromMJML.

Jump to

Keyboard shortcuts

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