textdump

package module
v0.0.0-...-4368114 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

README

textdump

Go Reference

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump(t *testing.T, b []byte, opts ...Option)

Types

type Dumper

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

func New

func New(opts ...Option) *Dumper

func (*Dumper) Dump

func (d *Dumper) Dump(t *testing.T, b []byte, opts ...Option)

type Option

type Option func(o *options)

func Colors

func Colors(colors bool) Option

func Env

func Env(env string) Option

func File

func File(file string) Option

func Transformers

func Transformers(fns ...func([]byte) ([]byte, error)) Option

Jump to

Keyboard shortcuts

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