lint: typo in previous comment fix

This commit is contained in:
Kjetil Torgrim Homme 2025-01-14 02:09:32 +01:00
parent 2585c68d16
commit e588ee5bbe
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ func (d *Duration) Set(s string) error {
return nil
}
// ParseTime returns past point in time where this duration is relative to time t. If t is not given, use time.Now().
// PastTime returns past point in time where this duration is relative to time t. If t is not given, use time.Now().
func (d Duration) PastTime(t ...time.Time) time.Time {
var reftime time.Time
if t == nil {