Duration wraps time.Duration. It is used to parse the custom duration format
| 138 | |
| 139 | // Duration wraps time.Duration. It is used to parse the custom duration format |
| 140 | type Duration time.Duration |
| 141 | |
| 142 | // UnmarshalYAML implements the yaml.Unmarshaler interface. |
| 143 | func (d *Duration) UnmarshalYAML(unmarshal func(interface{}) error) error { |
no outgoing calls
no test coverage detected