elliotchance/gedcom

View on GitHub
date.go

Summary

Maintainability
A
0 mins
Test Coverage

Your code does not pass gofmt in 5 places. Go fmt your code!
Open

// Dates
Severity: Minor
Found in date.go by gofmt

exported method Date.IsBefore should have comment or be unexported
Open

func (date Date) IsBefore(date2 Date) bool {
Severity: Minor
Found in date.go by golint

package comment should be of the form "Package gedcom ..."
Open

// Dates
Severity: Minor
Found in date.go by golint

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

// NewDateWithNow creates a two Dates that represents the the start and end of
Severity: Minor
Found in date.go by golint

exported function NewZeroDate should have comment or be unexported
Open

func NewZeroDate() Date {
Severity: Minor
Found in date.go by golint

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

func (date Date) Sub(date2 Date) Duration {
Severity: Minor
Found in date.go by golint

exported method Date.IsAfter should have comment or be unexported
Open

func (date Date) IsAfter(date2 Date) bool {
Severity: Minor
Found in date.go by golint

There are no issues that match your filters.

Category
Status