fake

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fake

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

Fake is an implementation of the garbage Interface.

func New

func New() *Fake

func (*Fake) HasPoped

func (f *Fake) HasPoped() []string

func (*Fake) Keys

func (f *Fake) Keys() []string

func (*Fake) Pop

func (f *Fake) Pop(key string)

func (*Fake) Push

func (f *Fake) Push(key string)

func (*Fake) Run

func (f *Fake) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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