elliotchance/gedcom

View on GitHub
html/family_list_page.go

Summary

Maintainability
A
35 mins
Test Coverage

Function NewFamilyListPage has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func NewFamilyListPage(document *gedcom.Document, googleAnalyticsID string, options *PublishShowOptions, indexLetters []rune, placesMap map[string]*place) *FamilyListPage {
Severity: Minor
Found in html/family_list_page.go - About 35 mins to fix

    exported method FamilyListPage.WriteHTMLTo should have comment or be unexported
    Open

    func (c *FamilyListPage) WriteHTMLTo(w io.Writer) (int64, error) {
    Severity: Minor
    Found in html/family_list_page.go by golint

    exported function NewFamilyListPage should have comment or be unexported
    Open

    func NewFamilyListPage(document *gedcom.Document, googleAnalyticsID string, options *PublishShowOptions, indexLetters []rune, placesMap map[string]*place) *FamilyListPage {
    Severity: Minor
    Found in html/family_list_page.go by golint

    exported type FamilyListPage should have comment or be unexported
    Open

    type FamilyListPage struct {
    Severity: Minor
    Found in html/family_list_page.go by golint

    There are no issues that match your filters.

    Category
    Status