elliotchance/gedcom

View on GitHub

Showing 640 of 640 total issues

exported type IndividualStatistics should have comment or be unexported
Open

type IndividualStatistics struct {
Severity: Minor
Found in html/individual_statistics.go by golint

exported function NewPlaceListPage should have comment or be unexported
Open

func NewPlaceListPage(document *gedcom.Document, googleAnalyticsID string, options *PublishShowOptions, indexLetters []rune, placesMap map[string]*place) *PlaceListPage {
Severity: Minor
Found in html/place_list_page.go by golint

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

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

exported type DocumentNoder should have comment or be unexported
Open

type DocumentNoder interface {
Severity: Minor
Found in document_noder.go by golint

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

// EventNode creates a new EVEN node.
Severity: Minor
Found in event_node.go by golint

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

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

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

func (ff *FilterFlags) SetupCLI() {
Severity: Minor
Found in filter_flags.go by golint

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

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

exported function NewGoogleAnalytics should have comment or be unexported
Open

func NewGoogleAnalytics(id string) *GoogleAnalytics {
Severity: Minor
Found in html/core/google_analytics.go by golint

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

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

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

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

exported type Lines should have comment or be unexported
Open

type Lines struct {
Severity: Minor
Found in html/core/lines.go by golint

exported method Link.Style should have comment or be unexported
Open

func (c *Link) Style(style string) *Link {
Severity: Minor
Found in html/core/link.go by golint

exported function NewOcticon should have comment or be unexported
Open

func NewOcticon(name, style string) *Octicon {
Severity: Minor
Found in html/core/octicon.go by golint

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

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

exported function NewFamilyInList should have comment or be unexported
Open

func NewFamilyInList(document *gedcom.Document, family *gedcom.FamilyNode, visibility LivingVisibility, placesMap map[string]*place) *FamilyInList {
Severity: Minor
Found in html/family_in_list.go by golint

exported function NewIndividualButton should have comment or be unexported
Open

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

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

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

should replace total += 1 with total++
Open

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

exported function NewPlusSVG should have comment or be unexported
Open

func NewPlusSVG(top, left, right, bottom bool) *PlusSVG {
Severity: Minor
Found in html/plus_svg.go by golint
Severity
Category
Status
Source
Language