elliotchance/gedcom

View on GitHub
html/event_statistics.go

Summary

Maintainability
A
0 mins
Test Coverage

exported type EventStatistics should have comment or be unexported
Open

type EventStatistics struct {
Severity: Minor
Found in html/event_statistics.go by golint

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

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

exported function NewEventStatistics should have comment or be unexported
Open

func NewEventStatistics(document *gedcom.Document) *EventStatistics {
Severity: Minor
Found in html/event_statistics.go by golint

should replace counts[event.Tag().String()] += 1 with counts[event.Tag().String()]++
Open

            counts[event.Tag().String()] += 1
Severity: Minor
Found in html/event_statistics.go by golint

There are no issues that match your filters.

Category
Status