testutils

package
v0.0.0-...-2595db5 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

func MakeTestLogger

func MakeTestLogger(t *testing.T) *log.Logger

Types

type FakeHTTPClient

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

func NewFakeHTTPClient

func NewFakeHTTPClient(t *testing.T) *FakeHTTPClient

func (*FakeHTTPClient) Get

func (fakeClient *FakeHTTPClient) Get(path string) (*http.Response, error)

Jump to

Keyboard shortcuts

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