html/diff_page.go
Method DiffPage.WriteHTMLTo
has 55 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (c *DiffPage) WriteHTMLTo(w io.Writer) (int64, error) {
if c.progress != nil {
c.progress <- gedcom.Progress{
Total: int64(len(c.comparisons)),
}
Function NewDiffPage
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func NewDiffPage(comparisons gedcom.IndividualComparisons, filterFlags *gedcom.FilterFlags, googleAnalyticsID string, show, sort string, progress chan gedcom.Progress, compareOptions *gedcom.IndividualNodesCompareOptions, visibility LivingVisibility) *DiffPage {
exported function NewDiffPage should have comment or be unexported Open
Open
func NewDiffPage(comparisons gedcom.IndividualComparisons, filterFlags *gedcom.FilterFlags, googleAnalyticsID string, show, sort string, progress chan gedcom.Progress, compareOptions *gedcom.IndividualNodesCompareOptions, visibility LivingVisibility) *DiffPage {
- Exclude checks
exported type DiffPage should have comment or be unexported Open
Open
type DiffPage struct {
- Exclude checks
exported method DiffPage.WriteHTMLTo should have comment or be unexported Open
Open
func (c *DiffPage) WriteHTMLTo(w io.Writer) (int64, error) {
- Exclude checks