elliotchance/gedcom

View on GitHub

Showing 640 of 640 total issues

exported type IndividualNameAndDates should have comment or be unexported
Open

type IndividualNameAndDates struct {
Severity: Minor
Found in html/individual_name_and_dates.go by golint

exported type LivingVisibility should have comment or be unexported
Open

type LivingVisibility string
Severity: Minor
Found in html/living_visibility.go by golint

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

    // The date is approximate. There is no defined error margin (how much the
Severity: Minor
Found in date_constraint.go by golint

exported function NewDurationRange should have comment or be unexported
Open

func NewDurationRange(min, max Duration) DurationRange {
Severity: Minor
Found in duration_range.go by golint

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

// Create a new encoder to generate GEDCOM data.
Severity: Minor
Found in encoder.go by golint

exported function NewAllParentButtons should have comment or be unexported
Open

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

exported type DiffPage should have comment or be unexported
Open

type DiffPage struct {
Severity: Minor
Found in html/diff_page.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

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

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

should replace livingCount += 1 with livingCount++
Open

                livingCount += 1
Severity: Minor
Found in html/individual_list_page.go by golint

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

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

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

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

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

    // There is no constraint. The date is at the value specified.
Severity: Minor
Found in date_constraint.go by golint

exported method DateNode.IsValid should have comment or be unexported
Open

func (node *DateNode) IsValid() bool {
Severity: Minor
Found in date_node.go by golint

exported method DurationRange.Age should have comment or be unexported
Open

func (dr DurationRange) Age() (Age, Age) {
Severity: Minor
Found in duration_range.go by golint

comment on exported method FamilyNode.Wife should be of the form "Wife ..."
Open

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

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

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

exported function NewAnchor should have comment or be unexported
Open

func NewAnchor(name string) *Anchor {
Severity: Minor
Found in html/core/anchor.go by golint

exported type BigTitle should have comment or be unexported
Open

type BigTitle struct {
Severity: Minor
Found in html/core/big_title.go by golint

exported function NewColumn should have comment or be unexported
Open

func NewColumn(width int, body Component) *Column {
Severity: Minor
Found in html/core/column.go by golint
Severity
Category
Status
Source
Language