duration.go
comment on exported type Duration should be of the form "Duration ..." (with optional leading article) Open
Open
// A duration that only considers whole-day resolution.
- Exclude checks
exported function NewExactDuration should have comment or be unexported Open
Open
func NewExactDuration(duration time.Duration) Duration {
- Exclude checks
exported function NewDuration should have comment or be unexported Open
Open
func NewDuration(duration time.Duration, isKnown, isEstimate bool) Duration {
- Exclude checks