Versions in this module Expand all Collapse all v3 v3.0.1 Dec 2, 2026 Changes in this version + func CreateMockClientWithError[T any](t *testing.T, createFunc func(*http.Client) (T, error)) *T + func CreateMockClient[T any](t *testing.T, createFunc func(*http.Client) T) *T + func MockRequestBodyValidate(t *testing.T, expected any, response any) httpmock.Responder + func MockRequestBodyValidateNoBody(t *testing.T, response any) httpmock.Responder + func MockRequestURL(path string) *regexp.Regexp + type Logger interface + Debugf func(format string, v ...any) + Errorf func(format string, v ...any) + Warnf func(format string, v ...any) + type TestLogger struct + L *log.Logger + func CreateLogger() *TestLogger + func (l *TestLogger) Debugf(format string, v ...any) + func (l *TestLogger) Errorf(format string, v ...any) + func (l *TestLogger) Warnf(format string, v ...any) Other modules containing this package github.com/linode/linodego github.com/linode/linodego/v2