substitutions

package
v0.0.0-...-463faa5 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSubstitutionFailure = errors.New("failed to resolve substitutions")

Functions

func RegistryValueToString

func RegistryValueToString[V RegistryValue](value V) string

Types

type Registry

type Registry[V RegistryValue] map[string]V

func (Registry[V]) Apply

func (r Registry[V]) Apply(input any) error

Apply substitutions to the struct. Creates side effects.

type RegistryValue

type RegistryValue interface {
	string | *ajson.Node
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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