elliotchance/gedcom

View on GitHub

Showing 640 of 640 total issues

exported type Publisher should have comment or be unexported
Open

type Publisher struct {
Severity: Minor
Found in html/publish.go by golint

exported method DateNodes.Range should have comment or be unexported
Open

func (dates DateNodes) Range() DateRange {
Severity: Minor
Found in date_nodes.go by golint

comment on exported method DeathNode.Equals should be of the form "Equals ..."
Open

// Equal will always return true if both nodes are not nil.
Severity: Minor
Found in death_node.go by golint

comment on exported method Document.Sources should be of the form "Sources ..."
Open

// TODO: Needs tests
Severity: Minor
Found in document.go by golint

exported method Document.DeleteNode should have comment or be unexported
Open

func (doc *Document) DeleteNode(node Node) (didDelete bool) {
Severity: Minor
Found in document.go by golint

comment on exported type Duration should be of the form "Duration ..." (with optional leading article)
Open

// A duration that only considers whole-day resolution.
Severity: Minor
Found in duration.go by golint

exported type FamilyNoder should have comment or be unexported
Open

type FamilyNoder interface {
Severity: Minor
Found in family_noder.go by golint

exported method FamilyNodes.ByPointer should have comment or be unexported
Open

func (nodes FamilyNodes) ByPointer(pointer string) *FamilyNode {
Severity: Minor
Found in family_nodes.go by golint

exported method FilterFlags.Filter should have comment or be unexported
Open

func (ff *FilterFlags) Filter(node Node, document *Document) Node {
Severity: Minor
Found in filter_flags.go by golint

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

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

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

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

exported function NewTable should have comment or be unexported
Open

func NewTable(tableClass string, content ...Component) *Table {
Severity: Minor
Found in html/core/table.go by golint

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

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

exported function NewDiffPage should have comment or be unexported
Open

func NewDiffPage(comparisons gedcom.IndividualComparisons, filterFlags *gedcom.FilterFlags, googleAnalyticsID string, show, sort string, progress chan gedcom.Progress, compareOptions *gedcom.IndividualNodesCompareOptions, visibility LivingVisibility) *DiffPage {
Severity: Minor
Found in html/diff_page.go by golint

should replace divorceEvents += 1 with divorceEvents++
Open

            divorceEvents += 1
Severity: Minor
Found in html/family_statistics.go by golint

exported function NewIndividualEvents should have comment or be unexported
Open

func NewIndividualEvents(document *gedcom.Document, individual *gedcom.IndividualNode, visibility LivingVisibility, placesMap map[string]*place) *IndividualEvents {
Severity: Minor
Found in html/individual_events.go by golint

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

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

should replace living += 1 with living++
Open

            living += 1
Severity: Minor
Found in html/individual_statistics.go by golint

exported const LivingVisibilityShow should have comment (or a comment on this block) or be unexported
Open

    LivingVisibilityShow        = "show"
Severity: Minor
Found in html/living_visibility.go by golint

exported function NewPlaceInList should have comment or be unexported
Open

func NewPlaceInList(document *gedcom.Document, place *place, placesMap map[string]*place) *PlaceInList {
Severity: Minor
Found in html/place_in_list.go by golint
Severity
Category
Status
Source
Language