broken

package
v0.0.0-...-c17fdca Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package broken provides malfunctioning mock implementations of standard interfaces.

Use exclusively for testing purposes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct{}

Reader is an implementation of io.Reader that always malfunctions. Use only for testing purposes.

func (Reader) Read

func (r Reader) Read(_ []byte) (int, error)

Jump to

Keyboard shortcuts

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