mock

package
v12.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetFunc

type GetFunc func(ctx context.Context, query *aur.Query) ([]aur.Pkg, error)

type MockAUR

type MockAUR struct {
	GetFn GetFunc
}

func (*MockAUR) Get

func (m *MockAUR) Get(ctx context.Context, query *aur.Query) ([]aur.Pkg, error)

Jump to

Keyboard shortcuts

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