elliotchance/gedcom

View on GitHub
family_nodes.go

Summary

Maintainability
A
0 mins
Test Coverage
package gedcom

type FamilyNodes []*FamilyNode

func (nodes FamilyNodes) ByPointer(pointer string) *FamilyNode {
    for _, node := range nodes {
        if node.Pointer() == pointer {
            return node
        }
    }

    return nil
}