util/time: add Marshal/Unmarshal to own Duration #184
@ -78,5 +78,5 @@ func (d Duration) MarshalYAML() (interface{}, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (d Duration)
|
||||
func (d Duration) UnmarshalYAML(fn func(interface{}) error) error
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user