elliotchance/gedcom

View on GitHub
html/source_list_page.go

Summary

Maintainability
A
35 mins
Test Coverage

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

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

    exported function NewSourceListPage should have comment or be unexported
    Open

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

    exported type SourceListPage should have comment or be unexported
    Open

    type SourceListPage struct {
    Severity: Minor
    Found in html/source_list_page.go by golint

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

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

    There are no issues that match your filters.

    Category
    Status