more mutable objects, more tightening up

This commit is contained in:
Dave Shanley
2023-03-10 16:47:55 -05:00
parent 6a8c890056
commit 000eada3f4
17 changed files with 479 additions and 226 deletions

View File

@@ -45,9 +45,6 @@ func (e *Example) Render() ([]byte, error) {
// MarshalYAML will create a ready to render YAML representation of the Example object.
func (e *Example) MarshalYAML() (interface{}, error) {
if e == nil {
return nil, nil
}
nb := high.NewNodeBuilder(e, e.low)
return nb.Render(), nil
}