elliotchance/gedcom

View on GitHub

Showing 640 of 640 total issues

exported method IndividualNode.AddName should have comment or be unexported
Open

func (node *IndividualNode) AddName(name string) *IndividualNode {
Severity: Minor
Found in individual_node.go by golint

comment on exported method QuestionMarkExpr.Evaluate should be of the form "Evaluate ..."
Open

// "?" is a special function that can be used to show all of the possible next
Severity: Minor
Found in q/question_mark_expr.go by golint

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

    // Ignored
Severity: Minor
Found in q/token.go by golint

exported type Tokens should have comment or be unexported
Open

type Tokens struct {
Severity: Minor
Found in q/token.go by golint

exported type SourceInList should have comment or be unexported
Open

type SourceInList struct {
Severity: Minor
Found in html/source_in_list.go by golint

exported type SurnameListPage should have comment or be unexported
Open

type SurnameListPage struct {
Severity: Minor
Found in html/surname_list_page.go by golint

exported method HusbandNode.Similarity should have comment or be unexported
Open

func (node *HusbandNode) Similarity(other *HusbandNode, options SimilarityOptions) float64 {
Severity: Minor
Found in husband_node.go by golint

exported function NewIndividualComparison should have comment or be unexported
Open

func NewIndividualComparison(Left, Right *IndividualNode, Similarity *SurroundingSimilarity) *IndividualComparison {
Severity: Minor
Found in individual_comparison.go by golint

comment on exported method IndividualNode.Names should be of the form "Names ..."
Open

// If the node is nil the result will also be nil.
Severity: Minor
Found in individual_node.go by golint

comment on exported method IndividualNode.Spouses should be of the form "Spouses ..."
Open

// TODO: needs tests
Severity: Minor
Found in individual_node.go by golint

exported method IndividualNode.AddBirthDate should have comment or be unexported
Open

func (node *IndividualNode) AddBirthDate(birthDate string) *IndividualNode {
Severity: Minor
Found in individual_node.go by golint

exported method NameNode.Suffix should have comment or be unexported
Open

func (node *NameNode) Suffix() string {
Severity: Minor
Found in name_node.go by golint

exported type Node should have comment or be unexported
Open

type Node interface {
Severity: Minor
Found in node.go by golint

exported method BinaryExpr.Evaluate should have comment or be unexported
Open

func (e *BinaryExpr) Evaluate(engine *Engine, input interface{}, args []*Statement) (interface{}, error) {
Severity: Minor
Found in q/binary_expr.go by golint

comment on exported method NodesWithTagPathExpr.Evaluate should be of the form "Evaluate ..."
Open

// NodesWithTagPath returns all of the nodes that have an exact tag path. The
Severity: Minor
Found in q/nodes_with_tag_path.go by golint

if block ends with a return statement, so drop this else and outdent its block
Open

        } else {
Severity: Minor
Found in q/parser.go by golint

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

    // Words
Severity: Minor
Found in q/token.go by golint

exported type VariableExpr should have comment or be unexported
Open

type VariableExpr struct {
Severity: Minor
Found in q/variable_expr.go by golint

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

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

exported type SurnameLink should have comment or be unexported
Open

type SurnameLink struct {
Severity: Minor
Found in html/surname_link.go by golint
Severity
Category
Status
Source
Language