elliotchance/gedcom

View on GitHub
duration.go

Summary

Maintainability
A
0 mins
Test Coverage

exported function NewDuration should have comment or be unexported
Open

func NewDuration(duration time.Duration, isKnown, isEstimate bool) Duration {
Severity: Minor
Found in duration.go by golint

exported function NewExactDuration should have comment or be unexported
Open

func NewExactDuration(duration time.Duration) Duration {
Severity: Minor
Found in duration.go by golint

comment on exported type Duration should be of the form "Duration ..." (with optional leading article)
Open

// A duration that only considers whole-day resolution.
Severity: Minor
Found in duration.go by golint

There are no issues that match your filters.

Category
Status