diff --git a/xtime/time.go b/xtime/time.go index 309c6cf..e4fa111 100644 --- a/xtime/time.go +++ b/xtime/time.go @@ -123,7 +123,7 @@ func (d Duration) Msgsize() int { return msgp.Int64Size } -// Implements yaml.Marshaler - Converts duration to human-readable format (e.g., "2h", "30m") +// MarshalYAML implements yaml.Marshaler - Converts duration to human-readable format (e.g., "2h", "30m") func (d Duration) MarshalYAML() (interface{}, error) { return time.Duration(d).String(), nil }