testutil

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBufferLogger

func NewBufferLogger(buffer *bytes.Buffer) *slog.Logger

Types

type FakeState

type FakeState struct{ ModeValue action.Mode }

func (FakeState) Do

func (FakeState) IsEqual

func (f FakeState) IsEqual(state action.State) bool

func (FakeState) LogValue

func (f FakeState) LogValue() slog.Value

func (FakeState) Mode

func (f FakeState) Mode() action.Mode

func (FakeState) String

func (f FakeState) String() string

Jump to

Keyboard shortcuts

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