mirror of
https://github.com/restic/restic.git
synced 2025-03-09 00:00:02 +01:00
lint: improve comment based on lint feedback
This commit is contained in:
parent
146587416f
commit
ff681b84f0
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ func (d *Duration) Set(s string) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// Subtract duration from t to return past point in time. If t is not given, use time.Now().
|
||||
// ParseTime 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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue