elliotchance/gedcom

View on GitHub

Showing 640 of 640 total issues

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

package gedcom
Severity: Minor
Found in individual_comparison.go by gofmt

should replace idealScore += 1 with idealScore++
Open

                idealScore += 1
Severity: Minor
Found in cmd/gedcom/tune.go by golint

exported function NewZeroDateRange should have comment or be unexported
Open

func NewZeroDateRange() DateRange {
Severity: Minor
Found in date_range.go by golint

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

func (doc *Document) SetNodes(nodes Nodes) {
Severity: Minor
Found in document.go by golint

func name will be used as gedcom.GEDCOMString by other packages, and that stutters; consider calling this String
Open

func GEDCOMString(value GEDCOMStringer, indent int) string {
Severity: Minor
Found in gedcomer.go by golint

exported function NewAge should have comment or be unexported
Open

func NewAge(start, end gedcom.Age) *Age {
Severity: Minor
Found in html/age.go by golint

exported method DirectoryFileWriter.WriteFile should have comment or be unexported
Open

func (writer *DirectoryFileWriter) WriteFile(file *File) error {
Severity: Minor
Found in html/core/directory_file_writer.go by golint

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

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

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

package gedcom
Severity: Minor
Found in age.go by gofmt

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// Decoding a Document
Severity: Minor
Found in decoder.go by gofmt

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

package gedcom
Severity: Minor
Found in equal.go by gofmt

exported type ChildBornBeforeParentWarning should have comment or be unexported
Open

type ChildBornBeforeParentWarning struct {
Severity: Minor
Found in child_born_before_parent_warning.go by golint

exported method ChildNode.Father should have comment or be unexported
Open

func (node *ChildNode) Father() *HusbandNode {
Severity: Minor
Found in child_node.go by golint

exported type ChildNodes should have comment or be unexported
Open

type ChildNodes []*ChildNode
Severity: Minor
Found in child_nodes.go by golint

comment on exported const DateConstraintAfter should be of the form "DateConstraintAfter ..."
Open

    // The real date is after the specified date value. This often (but not
Severity: Minor
Found in date_constraint.go by golint

comment on exported method DateNode.DateRange should be of the form "DateRange ..."
Open

// If the node is nil both results will be zero dates.
Severity: Minor
Found in date_node.go by golint

comment on exported function NewDecoder should be of the form "NewDecoder ..."
Open

// Create a new decoder to parse a reader that contain GEDCOM data.
Severity: Minor
Found in decoder.go by golint

exported function NewErrors should have comment or be unexported
Open

func NewErrors(errors ...error) (errs Errors) {
Severity: Minor
Found in errors.go by golint

exported method FamilyNode.SetHusband should have comment or be unexported
Open

func (node *FamilyNode) SetHusband(individual *IndividualNode) *FamilyNode {
Severity: Minor
Found in family_node.go by golint

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

func (ff *FilterFlags) FilterFunctions() []FilterFunction {
Severity: Minor
Found in filter_flags.go by golint
Severity
Category
Status
Source
Language