elliotchance/gedcom

View on GitHub
html/individual_event.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func NewIndividualEvent(date, place string, description core.Component, individual *gedcom.IndividualNode, event gedcom.Node, placesMap map[string]*place) *IndividualEvent {
Severity: Minor
Found in html/individual_event.go - About 35 mins to fix

    exported function NewIndividualEvent should have comment or be unexported
    Open

    func NewIndividualEvent(date, place string, description core.Component, individual *gedcom.IndividualNode, event gedcom.Node, placesMap map[string]*place) *IndividualEvent {
    Severity: Minor
    Found in html/individual_event.go by golint

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

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

    There are no issues that match your filters.

    Category
    Status