elliotchance/gedcom

View on GitHub
unique_id_node.go

Summary

Maintainability
A
35 mins
Test Coverage

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

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

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

    Your code does not pass gofmt in 2 places. Go fmt your code!
    Open

    package gedcom
    Severity: Minor
    Found in unique_id_node.go by gofmt

    exported function NewUniqueIDNode should have comment or be unexported
    Open

    func NewUniqueIDNode(value string, children ...Node) *UniqueIDNode {
    Severity: Minor
    Found in unique_id_node.go by golint

    There are no issues that match your filters.

    Category
    Status