MCPcopy Index your code
hub / github.com/ContentSquare/chproxy / Duration

TypeAlias Duration

config/types.go:140–140  ·  view source on GitHub ↗

Duration wraps time.Duration. It is used to parse the custom duration format

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected