debug

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collect

type Collect struct {
	Mapping map[string]string
}

Collect is a simple implementation of a Reporter that collects all the mappings as a map and provides a clean way to output them.

func (*Collect) Report

func (c *Collect) Report(a, b string)

Report stores the mapping information.

func (*Collect) Reset

func (c *Collect) Reset()

Reset clears out the mapping information.

func (Collect) String

func (c Collect) String() string

String produces a sorted & pretty output string.

Jump to

Keyboard shortcuts

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