func flag.newDurationValue
3 uses
flag (current package)
flag.go#L263: func newDurationValue(val time.Duration, p *time.Duration) *durationValue {
flag.go#L813: f.Var(newDurationValue(value, p), name, usage)
flag.go#L820: CommandLine.Var(newDurationValue(value, p), name, usage)
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)