elliotchance/gedcom

View on GitHub
cmd/gedcom/publish.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function runPublishCommand has 75 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func runPublishCommand() {
    var optionGedcomFile string
    var optionOutputDir string
    var optionGoogleAnalyticsID string
    var optionLivingVisibility string
Severity: Minor
Found in cmd/gedcom/publish.go - About 2 hrs to fix

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

    // "gedcom publish" renders a GEDCOM file into HTML pages that can be shared and
    Severity: Minor
    Found in cmd/gedcom/publish.go by gofmt

    There are no issues that match your filters.

    Category
    Status