package
Version:
v0.4.2
Opens a new window with list of versions in this module.
Published: Mar 27, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Factory = func(node *yaml.Node) (any, error)
type InlineUnmarshaler interface {
UnmarshalInline(text string) (err error)
}
type Registration struct {
FromNode func(node *yaml.Node) (any, error)
FromString func(str string) (any, error)
Instance any
}
func (r *Registry[I]) Unmarshal(node *yaml.Node) (res I, err error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.