extractor

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extractor

type Extractor interface {
	ExtractMRIIDs(startingPoint string, matcher string) ([]int64, error)
	GetStartingPoint(startingPoint string, matcher string) (string, error)
}

func New

func New(gitReader git.Git) Extractor

type MockExtractor

type MockExtractor struct {
	mock.Mock
}

MockExtractor is an autogenerated mock type for the Extractor type

func NewMockExtractor added in v0.7.0

func NewMockExtractor(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockExtractor

NewMockExtractor creates a new instance of MockExtractor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockExtractor) ExtractMRIIDs

func (_m *MockExtractor) ExtractMRIIDs(startingPoint string, matcher string) ([]int64, error)

ExtractMRIIDs provides a mock function with given fields: startingPoint, matcher

func (*MockExtractor) GetStartingPoint added in v0.7.0

func (_m *MockExtractor) GetStartingPoint(startingPoint string, matcher string) (string, error)

GetStartingPoint provides a mock function with given fields: startingPoint, matcher

Jump to

Keyboard shortcuts

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