elliotchance/gedcom

View on GitHub
q/html_formatter.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func (f *HTMLFormatter) Write(result interface{}) error {
    pageTitle := "gedcom"

    // Nil should be treated as a blank document.
    if gedcom.IsNil(result) {
Severity: Major
Found in q/html_formatter.go - About 35 mins to fix

    exported type HTMLFormatter should have comment or be unexported
    Open

    type HTMLFormatter struct {
    Severity: Minor
    Found in q/html_formatter.go by golint

    There are no issues that match your filters.

    Category
    Status