testkit

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 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 Static

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

Static is a Stage that classifies by exact-match lookup of the record's payload, for tests and wiring examples. Records whose payload is not in the table are unclassified.

func NewStatic

func NewStatic(name string, categories map[string]string) *Static

NewStatic returns a Stage named name that maps an exact payload string to a category with full confidence.

func (*Static) Classify

Classify implements Stage.

func (*Static) Name

func (s *Static) Name() string

Name implements Stage.

Jump to

Keyboard shortcuts

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