mockSearcher

package
v0.0.0-...-b199f39 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSearcher

type MockSearcher struct {
	WantSearch   query.Q
	SearchResult *zoekt.SearchResult

	WantList query.Q
	RepoList *zoekt.RepoList
}

func (*MockSearcher) Close

func (*MockSearcher) Close()

func (*MockSearcher) List

func (s *MockSearcher) List(ctx context.Context, q query.Q, opts *zoekt.ListOptions) (*zoekt.RepoList, error)

func (*MockSearcher) Search

func (*MockSearcher) String

func (*MockSearcher) String() string

Jump to

Keyboard shortcuts

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