elliotchance/gedcom

View on GitHub
event_node.go

Summary

Maintainability
A
35 mins
Test Coverage

Method EventNode.Equals has 5 return statements (exceeds 4 allowed).
Open

func (node *EventNode) Equals(node2 Node) bool {
    if IsNil(node) {
        return false
    }

Severity: Major
Found in event_node.go - About 35 mins to fix

    comment on exported function NewEventNode should be of the form "NewEventNode ..."
    Open

    // EventNode creates a new EVEN node.
    Severity: Minor
    Found in event_node.go by golint

    comment on exported method EventNode.Equals should be of the form "Equals ..."
    Open

    // Equal tests if two events are the same.
    Severity: Minor
    Found in event_node.go by golint

    There are no issues that match your filters.

    Category
    Status