note_node.go
package gedcom
// NoteNode represents additional information provided by the submitter for
// understanding the enclosing data.
type NoteNode struct {
*SimpleNode
}
// NewNoteNode creates a new NOTE node.
func NewNoteNode(value string, children ...Node) *NoteNode {
return &NoteNode{
newSimpleNode(TagNote, value, "", children...),
}
}