elliotchance/gedcom

View on GitHub
q/gedcom_formatter.go

Summary

Maintainability
A
35 mins
Test Coverage

Method GEDCOMFormatter.Write has 5 return statements (exceeds 4 allowed).
Open

func (f *GEDCOMFormatter) Write(result interface{}) error {
    // Nil should be treated as a blank document.
    if gedcom.IsNil(result) {
        return nil
    }
Severity: Major
Found in q/gedcom_formatter.go - About 35 mins to fix

    exported type GEDCOMFormatter should have comment or be unexported
    Open

    type GEDCOMFormatter struct {
    Severity: Minor
    Found in q/gedcom_formatter.go by golint

    There are no issues that match your filters.

    Category
    Status