elliotchance/gedcom

View on GitHub
note_node.go

Summary

Maintainability
A
0 mins
Test Coverage
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...),
    }
}