Documentation
¶
Overview ¶
Package yamlgenerator provides YAML generation functionality for arbitrary models.
This package implements a generic Generator for any Go struct, providing flexible YAML serialization with support for custom marshalling options.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator[T any] struct { Marshaller marshaller.Marshaller[T] }
Generator emits YAML for an arbitrary model using a provided marshaller.
func NewGenerator ¶
NewGenerator creates a new Generator instance.
Click to show internal directories.
Click to hide internal directories.