elliotchance/gedcom

View on GitHub
filter.go

Summary

Maintainability
A
35 mins
Test Coverage

Function filter has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func filter(root Node, fn FilterFunction, entityMap entityMap, document *Document, family *FamilyNode) Node {
Severity: Minor
Found in filter.go - About 35 mins to fix

    Your code does not pass gofmt in 1 place. Go fmt your code!
    Open

    // Filtering and Tree Walking
    Severity: Minor
    Found in filter.go by gofmt

    exported function RemoveDuplicateNamesFilter should have comment or be unexported
    Open

    func RemoveDuplicateNamesFilter() FilterFunction {
    Severity: Minor
    Found in filter.go by golint

    package comment should be of the form "Package gedcom ..."
    Open

    // Filtering and Tree Walking
    Severity: Minor
    Found in filter.go by golint

    There are no issues that match your filters.

    Category
    Status