Help us shape the future of Go! Take the 2026 Go Developer Survey

retriever

package
v0.9.21 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package retriever is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRetriever

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

MockRetriever is a mock of Retriever interface.

func NewMockRetriever

func NewMockRetriever(ctrl *gomock.Controller) *MockRetriever

NewMockRetriever creates a new mock instance.

func (*MockRetriever) EXPECT

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

func (*MockRetriever) Retrieve

func (m *MockRetriever) Retrieve(ctx context.Context, query string, opts ...retriever.Option) ([]*schema.Document, error)

Retrieve mocks base method.

type MockRetrieverMockRecorder

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

MockRetrieverMockRecorder is the mock recorder for MockRetriever.

func (*MockRetrieverMockRecorder) Retrieve

func (mr *MockRetrieverMockRecorder) Retrieve(ctx, query any, opts ...any) *gomock.Call

Retrieve indicates an expected call of Retrieve.

Jump to

Keyboard shortcuts

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