elliotchance/gedcom

View on GitHub

Showing 640 of 640 total issues

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

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

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

    IndividualMaleColor   = "#0275d8"
Severity: Minor
Found in html/constants.go by golint

exported function NewDiv should have comment or be unexported
Open

func NewDiv(class string, body Component) *Div {
Severity: Minor
Found in html/core/div.go by golint

exported type File should have comment or be unexported
Open

type File struct {
Severity: Minor
Found in html/core/file.go by golint

exported type GoogleAnalytics should have comment or be unexported
Open

type GoogleAnalytics struct {
Severity: Minor
Found in html/core/google_analytics.go by golint

exported function NewLineBreak should have comment or be unexported
Open

func NewLineBreak() *LineBreak {
Severity: Minor
Found in html/core/line_break.go by golint

exported function NewLink should have comment or be unexported
Open

func NewLink(body Component, dest string) *Link {
Severity: Minor
Found in html/core/link.go by golint

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

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

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

func (node *DateNode) Sub(node2 *DateNode) (min Duration, max Duration, errs error) {
Severity: Minor
Found in date_node.go by golint

exported method DateRange.Sub should have comment or be unexported
Open

func (dr DateRange) Sub(dr2 DateRange) DurationRange {
Severity: Minor
Found in date_range.go by golint

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

func (doc *Document) AddIndividual(pointer string, children ...Node) *IndividualNode {
Severity: Minor
Found in document.go by golint

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

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

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

func (node *FamilyNode) SetHusbandPointer(pointer string) *FamilyNode {
Severity: Minor
Found in family_node.go by golint

type name will be used as gedcom.GEDCOMLiner by other packages, and that stutters; consider calling this Liner
Open

type GEDCOMLiner interface {
Severity: Minor
Found in gedcomer.go by golint

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

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

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

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

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

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

exported function NewDiffRow should have comment or be unexported
Open

func NewDiffRow(name string, nd *gedcom.NodeDiff, hideSame bool) *DiffRow {
Severity: Minor
Found in html/diff_row.go by golint

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

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

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

func (c *IndividualIndexHeader) WriteHTMLTo(w io.Writer) (int64, error) {
Severity: Minor
Found in html/individual_index_header.go by golint
Severity
Category
Status
Source
Language