elliotchance/gedcom

View on GitHub
html/place_list_page.go

Summary

Maintainability
A
35 mins
Test Coverage

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

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

    exported function NewPlaceListPage should have comment or be unexported
    Open

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

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

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

    There are no issues that match your filters.

    Category
    Status