stub

package
v0.0.0-...-50c8bf6 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: 0BSD Imports: 2 Imported by: 1

Documentation

Overview

Package stub provides a stub api.Linker that returns empty values and specific errors.

Index

Constants

This section is empty.

Variables

View Source
var API api.Linker[Reason, error] = linker{}

API linker, error will be returned from any functions in the API that include an error. Functions that do not include an error will panic, if the error is not nil.

Functions

This section is empty.

Types

type Reason

type Reason string

Reason records the reason why a stub is being used.

const (
	Testing Reason = "testing"
	TODO    Reason = "TODO"
)

Testing is the reason that a stub is being used.

Jump to

Keyboard shortcuts

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