outputFormatted := []byte(output)
// TODO improve interface definition generation
// look into using dst instead of regex replace
// Change recursive attributes with nil as these can not be dumped as code
// Rendered example: Parent:<REC(&interfacedefinition.Node)>,
// Rendered example: LeafNode:[]*interfacedefinition.LeafNode{<REC()>}
look into using dst instead of regex replace
Rendered example: Parent:\<REC(&interfacedefinition.Node)>,
Rendered example: LeafNode:[]*interfacedefinition.LeafNode{\<REC()>}
https://github.com/thomasfinstad/terraform-provider-vyos/blob/0bdd3c9b9e98b4250b39a0785765f20bfd770120/tools/build-vyos-infterface-definition-structs/main.go#L53