Help us shape the future of Go! Take the 2026 Go Developer Survey

logtest

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discard

func Discard(t *testing.T)

func PanicOnFatal

func PanicOnFatal(t *testing.T)

Types

type Buffer

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

func NewCollector

func NewCollector(t *testing.T) *Buffer

func (*Buffer) Bytes

func (b *Buffer) Bytes() []byte

func (*Buffer) Content

func (b *Buffer) Content() string

func (*Buffer) Reset

func (b *Buffer) Reset()

func (*Buffer) String

func (b *Buffer) String() string

Jump to

Keyboard shortcuts

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