serialize

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register[T, G any](factory *TypeSwitch[T], builder func(G) T)

Types

type TypeSwitch

type TypeSwitch[T any] struct {
	// contains filtered or unexported fields
}

func (TypeSwitch[T]) Run

func (tf TypeSwitch[T]) Run(op nodes.OutputPort) T

func (TypeSwitch[T]) Types

func (tf TypeSwitch[T]) Types() []string

Jump to

Keyboard shortcuts

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